diff options
Diffstat (limited to 'libs/lucid/luasrc')
-rw-r--r-- | libs/lucid/luasrc/lucid.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/lucid/luasrc/lucid.lua b/libs/lucid/luasrc/lucid.lua index d72bf25ef9..34452a5991 100644 --- a/libs/lucid/luasrc/lucid.lua +++ b/libs/lucid/luasrc/lucid.lua @@ -176,7 +176,7 @@ end function create_process(threadcb, waitcb) local threadlimit = tonumber(cursor:get(UCINAME, "main", "threadlimit")) - if threadlimit and #tpids >= tcount then + if threadlimit and tcount >= threadlimit then nixio.syslog("warning", "Unable to create thread: process limit reached") return nil end |