From 3c1ba97a2b62a798e59eacca3e92640e3d890ae3 Mon Sep 17 00:00:00 2001
From: Ludovic Claude <ludovic.claude@laposte.net>
Date: Thu, 26 Apr 2018 06:54:18 +0200
Subject: [PATCH] Increase size of payloads

---
 src/main/resources/akka-netty-remoting.conf | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/main/resources/akka-netty-remoting.conf b/src/main/resources/akka-netty-remoting.conf
index cb11191a2..2c830d0dc 100644
--- a/src/main/resources/akka-netty-remoting.conf
+++ b/src/main/resources/akka-netty-remoting.conf
@@ -1,6 +1,7 @@
 akka {
 
   remote {
+    maximum-payload-bytes = 30000000 bytes
 
     netty.tcp {
       hostname = ${clustering.ip} # external (logical) hostname
@@ -8,6 +9,11 @@ akka {
 
       bind-hostname = 0.0.0.0         # internal (bind) hostname
       bind-port = ${clustering.port}  # internal (bind) port
+
+      message-frame-size =  30000000b
+      send-buffer-size =  30000000b
+      receive-buffer-size =  30000000b
+      maximum-frame-size = 30000000b
     }
 
     artery {
-- 
GitLab