Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/burbas/boss_db into burbas-…
Browse files Browse the repository at this point in the history
…master
  • Loading branch information
choptastic committed Jun 25, 2014
2 parents 884191a + bc0a542 commit bd2df48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/boss_db_controller.erl
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ code_change(_OldVsn, State, _Extra) ->
handle_info(stop, State) ->
{stop, shutdown, State};

handle_info({'EXIT', _From, 'normal'}, State) ->
{noreply, State};
handle_info({'EXIT', _From, _Reason}, State) when State#state.connection_state == connected ->
{ok, Tref} = setup_reconnect(State),
{noreply, State#state { connection_state = disconnected, connection_delay = State#state.connection_delay * 2,
Expand Down

0 comments on commit bd2df48

Please sign in to comment.