add FIXME

This commit is contained in:
Christian Ulrich 2020-10-07 00:07:45 +02:00
parent 572b443ea0
commit 679541877a
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ proc processClient(client: AsyncSocket,
break break
proc serve(port: Port) {.async.} = proc serve(port: Port) {.async.} =
# FIXME: causes Error: unhandled exception: Too many open files [OSError] after a while
var clients = newTable[string, Client]() var clients = newTable[string, Client]()
var server = newAsyncSocket() var server = newAsyncSocket()
server.setSockOpt(OptReuseAddr, true) server.setSockOpt(OptReuseAddr, true)