bugfix: See PR #332

This commit is contained in:
Cloud Wu
2015-08-31 16:36:57 +08:00
parent 7ec452c782
commit 7797de85b4

View File

@@ -123,6 +123,7 @@ function CMD.monitor(name, obj)
if n > pool_count[name].threshold then
n = n - check_watch(v.watch)
pool_count[name].threshold = n * 2
pool_count[name].n = n
end
table.insert(v.watch, skynet.response())