From 831379e2bbfe1bb0103ee7779176a2b79f625d2e Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Thu, 28 Nov 2019 20:46:05 +0800 Subject: [PATCH] server: add a tiny timeout to lws_service --- src/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.c b/src/server.c index 2ba0927..e1ee717 100644 --- a/src/server.c +++ b/src/server.c @@ -502,7 +502,7 @@ main(int argc, char **argv) { #endif } } - lws_service(context, 0); + lws_service(context, 10); } lws_context_destroy(context); -- 2.43.4