[Pkg-voip-commits] [janus] 228/282: Set lws count_threads to 1 before creating lws context.

Jonas Smedegaard dr at jones.dk
Wed Dec 20 21:53:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.2.6-1
in repository janus.

commit 641bc706af6d680b637e496917f7118c79bf3959
Author: Alessandro Toppi <atoppi at meetecho.com>
Date:   Thu Nov 30 15:00:07 2017 +0100

    Set lws count_threads to 1 before creating lws context.
---
 transports/janus_websockets.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/transports/janus_websockets.c b/transports/janus_websockets.c
index 100af3c..a28c062 100644
--- a/transports/janus_websockets.c
+++ b/transports/janus_websockets.c
@@ -438,6 +438,8 @@ int janus_websockets_init(janus_transport_callbacks *callback, const char *confi
 			wscinfo.timeout_secs = pingpong_timeout;
 		}
 #endif
+		/* Force single-thread server */
+		wscinfo.count_threads = 1;
 
 		/* Create the base context */
 		wsc = lws_create_context(&wscinfo);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git



More information about the Pkg-voip-commits mailing list