Add warning in source code.

This commit is contained in:
Konstantin Seiler 2019-11-06 17:15:32 +11:00
parent 224ec0a04e
commit 395d29ad47

View file

@ -18,7 +18,7 @@ use futures::sync::mpsc::unbounded;
use std::sync::atomic;
use std::sync::atomic::AtomicUsize;
const MINIMUM_CHUNK_SIZE: usize = 1024 * 16;
const MINIMUM_CHUNK_SIZE: usize = 1024 * 16; // This number MUST be divisible by 4.
const MAXIMUM_CHUNK_SIZE: usize = 1024 * 128;
const MAXIMUM_ASSUMED_PING_TIME_SECONDS: u64 = 5;