This commit is contained in:
Feng Lee 2015-09-16 22:19:02 +08:00
parent 3e899ab7a2
commit 107c317e11
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ init([]) ->
Name = {emqttd_pubsub, I},
gproc_pool:add_worker(pubsub, Name, I),
{Name, {emqttd_pubsub, start_link, [I, Opts]},
permanent, 5000, worker, [emqttd_pubsub]}
permanent, 10000, worker, [emqttd_pubsub]}
end, lists:seq(1, PoolSize)),
{ok, {{one_for_all, 10, 100}, Children}}.