Dynamic allocation of protobuf encoder on huge messages
This commit is contained in:
committed by
Rune Harlyk
parent
1b6ffc4641
commit
50ef91ab22
@@ -6,7 +6,7 @@
|
||||
#include <string>
|
||||
|
||||
// Make sure that this aligns with socket_message.FSDownloadChunkResponse.data max_size (and for the corresponsing request)
|
||||
#define FS_MAX_CHUNK_SIZE 2**14 // ~= 16 kb
|
||||
#define FS_MAX_CHUNK_SIZE 16384 // ~= 16 kb
|
||||
#define FS_TRANSFER_TIMEOUT 30000 // 30 seconds
|
||||
|
||||
namespace FileSystemWS {
|
||||
|
||||
Reference in New Issue
Block a user