Compare commits

...

2 Commits

Author SHA1 Message Date
ubuntu201711081
97e1e19c5a Merge branch 'master' of http://git.prelude.duckdns.org/monoid/HW12 2020-12-05 01:33:59 +00:00
ubuntu201711081
6824addf8b add threadpool server 2020-12-05 01:30:30 +00:00

View File

@ -15,6 +15,7 @@ Server OPTION and arguments:
- `-h` :print help message.
Available macro:
For server
- DEFAULT_MAX_LISTEN_SOCKET: 16
- DEFAULT_SERVER_PORT: 9091
@ -23,8 +24,10 @@ For server
- DEFAULT_SEND_FILE_CHUNK_SIZE: 0x100000(1MB)
- DEFAULT_WORK_QUEUE_SIZE: 10
- DEFAULT_MAX_THREAD_NUMBER: 10
For client
- SLOW_CLIENT(second unit)
- DEFAULT_PROGRESS_BAR_WIDTH: 30
For both
- TIMEOUT: 5(second unit)