Skip to content

Commit e405aa2

Browse files
committed
min workerthreads
1 parent 44a794d commit e405aa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nimletter.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ when isMainModule:
219219
#
220220
let server = newServer(
221221
routerMain,
222-
workerThreads = (when defined(dev): 4 else: max(countProcessors() * 20, 1)),
222+
workerThreads = (when defined(dev): 4 else: max(countProcessors() * 20, 4)),
223223
maxBodyLen = 1024 * 1024 * 30, # 30 MB
224224
)
225225

0 commit comments

Comments
 (0)