Commit d0a4cba2a23809a8f783ad068a778bba87d1c700

Thomas de Grivel 2024-12-09T11:36:02

enable multi threading in httpd

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/kc3/0.1/httpd.kc3 b/lib/kc3/0.1/httpd.kc3
index 1c38490..dabd09d 100644
--- a/lib/kc3/0.1/httpd.kc3
+++ b/lib/kc3/0.1/httpd.kc3
@@ -119,7 +119,7 @@ defmodule HTTPd do
     end
   }
 
-  def thread_count = 1
+  def thread_count = 8
 
   def server = fn (host, port) {
     def socket = Socket.listen(host, port)