Skip to content

Commit 96c960e

Browse files
committed
core: increase max indbound message body size 5 times
1 parent 3d95d82 commit 96c960e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/fr/sncf/osrd/cli/WorkerCommand.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class WorkerCommand : CliCommand {
106106

107107
val factory = ConnectionFactory()
108108
factory.setUri(WORKER_AMQP_URI)
109-
factory.setMaxInboundMessageBodySize(1024 * 1024 * 128)
109+
factory.setMaxInboundMessageBodySize(1024 * 1024 * 128 * 5)
110110
val connection = factory.newConnection()
111111
connection.createChannel().use { channel -> reportActivity(channel, "started") }
112112

0 commit comments

Comments
 (0)