Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pomodorox committed Oct 28, 2020
1 parent 6e3d45e commit 267a9f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion forch/forchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,14 +458,15 @@ def _attempt_start_config_hash_clash_timer(self):
return
self._config_hash_clash_timer = threading.Timer(
interval=self._config_hash_clash_timeout_sec,
function=self._raise_config_hash_clash_exception())
function=self._raise_config_hash_clash_exception)
self._config_hash_clash_timer.start()
LOGGER.info('Config hash clash timer started')

def _attempt_cancel_config_hash_clash_timer(self):
if not self._config_hash_clash_timer:
return
self._config_hash_clash_timer.cancel()
self._config_hash_clash_timer = None
LOGGER.info('Config hash clash timer cancelled')

def _raise_config_hash_clash_exception(self):
Expand Down

0 comments on commit 267a9f8

Please sign in to comment.