diff options
author | Matthew Sackman <matthew@lshift.net> | 2010-04-04 04:00:48 +0100 |
---|---|---|
committer | Matthew Sackman <matthew@lshift.net> | 2010-04-04 04:00:48 +0100 |
commit | 15d76638c881fb470e72ea900c0cad56638269e2 (patch) | |
tree | a0fea827dd7cabb7318ec96fefdacf952130b0bc /src/worker_pool_worker.erl | |
parent | 48f0a3c9dd6b6d86009db225014db891f54954a6 (diff) | |
download | rabbitmq-server-15d76638c881fb470e72ea900c0cad56638269e2.tar.gz |
Missing hibernate timeout
Diffstat (limited to 'src/worker_pool_worker.erl')
-rw-r--r-- | src/worker_pool_worker.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker_pool_worker.erl b/src/worker_pool_worker.erl index fc3ce371..3bfcc2d9 100644 --- a/src/worker_pool_worker.erl +++ b/src/worker_pool_worker.erl @@ -69,7 +69,7 @@ init([WId]) -> handle_call({submit, Fun}, From, WId) -> gen_server2:reply(From, run(Fun)), ok = worker_pool:idle(WId), - {noreply, WId}; + {noreply, WId, hibernate}; handle_call(Msg, _From, State) -> {stop, {unexpected_call, Msg}, State}. |