reduced the severity of log messages when forwarding packets and reduced the timeouts

This commit is contained in:
Nikos Mavrogiannopoulos
2014-11-10 16:05:02 +01:00
parent 0311dc6291
commit b924eba1ac
4 changed files with 10 additions and 14 deletions
+5
View File
@@ -279,4 +279,9 @@ int send_msg_to_main(worker_st *ws, uint8_t cmd,
return send_msg(ws, ws->cmd_fd, cmd, msg, get_size, pack);
}
/* after that time (secs) of inactivity in the UDP part, connection switches to
* TCP (if activity occurs there).
*/
#define UDP_SWITCH_TIME 15
#endif