diff options
| author | Matthew Sackman <matthew@lshift.net> | 2010-04-06 13:49:24 +0100 |
|---|---|---|
| committer | Matthew Sackman <matthew@lshift.net> | 2010-04-06 13:49:24 +0100 |
| commit | 45a9ed69352fc4600f33f9e308dc57c97e368d82 (patch) | |
| tree | b1546fc48c1904e5fd112674bc9c404b747f75fc | |
| parent | 02c232663d4059c5a489523f027070b6d1650bb2 (diff) | |
| download | rabbitmq-server-git-45a9ed69352fc4600f33f9e308dc57c97e368d82.tar.gz | |
Whoops, API changed...
| -rw-r--r-- | src/rabbit_msg_store.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_msg_store.erl b/src/rabbit_msg_store.erl index 8ea2344c75..4f85b5667c 100644 --- a/src/rabbit_msg_store.erl +++ b/src/rabbit_msg_store.erl @@ -777,7 +777,7 @@ next_state(State) -> {State, 0}. start_sync_timer(State = #msstate { sync_timer_ref = undefined }) -> - {ok, TRef} = timer:apply_after(?SYNC_INTERVAL, ?MODULE, sync, []), + {ok, TRef} = timer:apply_after(?SYNC_INTERVAL, ?MODULE, sync, [self()]), State #msstate { sync_timer_ref = TRef }. stop_sync_timer(State = #msstate { sync_timer_ref = undefined }) -> |
