Skip to content

Commit

Permalink
set max tars package size 100M
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanshudong committed Aug 29, 2023
1 parent 46d66d5 commit ea1540f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servant/servant/AppProtocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace tars
class TC_Transceiver;

#define TARS_NET_MIN_PACKAGE_SIZE 5
#define TARS_NET_MAX_PACKAGE_SIZE 1024*1024*10
#define TARS_NET_MAX_PACKAGE_SIZE 1024*1024*100

template<typename T>
T net2host(T len)
Expand Down

0 comments on commit ea1540f

Please sign in to comment.