summaryrefslogtreecommitdiffhomepage
path: root/libs/lucid/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-05-27 13:20:35 +0000
committerSteven Barth <steven@midlink.org>2009-05-27 13:20:35 +0000
commit06a3956a2ff31943bbd8c989df9033617135f703 (patch)
treed9c995bb22b26dc3e049355fead2217a6be67ed6 /libs/lucid/luasrc
parent632abafabf6a1f3011fffd9cff9f5b65258ec1d2 (diff)
LuCId fixes
Diffstat (limited to 'libs/lucid/luasrc')
-rw-r--r--libs/lucid/luasrc/lucid.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/lucid/luasrc/lucid.lua b/libs/lucid/luasrc/lucid.lua
index d72bf25ef..34452a599 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