ext. metric server: workaround stupid MTU problem..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-05-08 17:22:35 +02:00
parent 5c77a34f08
commit 45dbb18177

View File

@ -69,7 +69,7 @@ sub _disconnect {
# UDP cannot do more than 64k at once. Overwrite for different protocol limits.
sub _send_batch_size {
my ($class, $cfg) = @_;
return 48000;
return 1200; # FIXME: why??? MTU fragmentation should be handled by layer2
}
# call with the smalles $data chunks possible