Skip to content

Commit

Permalink
Reduce RetryExecutor log verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanpm committed Jan 15, 2019
1 parent c3e51c1 commit d8c4e39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ def fetch_urls(urls):

## Changelog

### v1.18.0

- Reduced log verbosity
([#115](https://github.com/rohanpm/more-executors/issues/115))

### v1.17.0

- Exception tracebacks are now propagated correctly on python2
Expand Down
4 changes: 2 additions & 2 deletions more_executors/retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,12 @@ def __init__(self, delegate, retry_policy=None, logger=None, **kwargs):
self._submit_thread.start()

def shutdown(self, wait=True):
self._log.info("Shutting down.")
self._log.debug("Shutting down.")
self._shutdown = True
self._wake_thread()
self._delegate.shutdown(wait)
if wait:
self._log.info("Waiting for thread")
self._log.debug("Waiting for thread")
self._submit_thread.join(_MAX_TIMEOUT)
self._log.debug("Shutdown complete")

Expand Down

0 comments on commit d8c4e39

Please sign in to comment.