summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index d90eeee0..3cdf60a9 100644
--- a/main.c
+++ b/main.c
@@ -370,7 +370,7 @@ server_loop (void *ctx) {
FD_ZERO(&rds);
while (!server_terminate) {
FD_SET(srv_socket, &rds);
- timeout.tv_usec = 50000;
+ timeout.tv_usec = 500000;
if ((ret = select(srv_socket + 1, &rds, NULL, NULL, &timeout)) < 0 && errno != EINTR) {
perror("select");
exit (-1);