Skip to content

Commit

Permalink
Merge pull request #633 from agrare/event_monitor_never_sets_monitor_…
Browse files Browse the repository at this point in the history
…running

Set the monitor_running event to unblock the main thread
  • Loading branch information
chessbyte authored Jun 25, 2020
2 parents 2f89dac + d8308e7 commit 3d9f090
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ def stop_event_monitor
end

def monitor_events
event_monitor_running
event_monitor_handle.poll do |event|
_log.debug { "#{log_prefix} Received event #{event["messageId"]}" }
event_monitor_running
@queue.enq event
end
ensure
Expand Down

0 comments on commit 3d9f090

Please sign in to comment.