mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
bugfix: See PR #332
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user