summaryrefslogtreecommitdiff
path: root/src/worker_pool_worker.erl
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2010-04-04 04:00:48 +0100
committerMatthew Sackman <matthew@lshift.net>2010-04-04 04:00:48 +0100
commit15d76638c881fb470e72ea900c0cad56638269e2 (patch)
treea0fea827dd7cabb7318ec96fefdacf952130b0bc /src/worker_pool_worker.erl
parent48f0a3c9dd6b6d86009db225014db891f54954a6 (diff)
downloadrabbitmq-server-15d76638c881fb470e72ea900c0cad56638269e2.tar.gz
Missing hibernate timeout
Diffstat (limited to 'src/worker_pool_worker.erl')
-rw-r--r--src/worker_pool_worker.erl2
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}.