Permalink
Browse files

Log when we skip janitor runs

Change-Id: If2aa287feed077fcf341cf8194a5ecc3d74be29c
Reviewed-on: http://review.northscale.com/3185
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  • Loading branch information...
1 parent ce0f935 commit 5e2d9f271499c87a46758a7c81e1c83d8187fe53 @seanlynch seanlynch committed with alk Oct 11, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ns_orchestrator.erl
View
@@ -158,7 +158,7 @@ handle_info(janitor, idle, #idle_state{remaining_buckets=Buckets}) ->
{next_state, janitor_running, #janitor_state{remaining_buckets=Buckets,
pid = Pid}};
handle_info(janitor, StateName, StateData) ->
- misc:flush(janitor),
+ ?log_info("Skipping janitor in state ~p: ~p", [StateName, StateData]),
{next_state, StateName, StateData};
handle_info({'EXIT', Pid, Reason}, janitor_running,
#janitor_state{pid = Pid,

0 comments on commit 5e2d9f2

Please sign in to comment.