Browse Source

Log max_workers, useful to know

pull/74/head
Ross McFarland 9 years ago
parent
commit
cfc0d586a1
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      octodns/manager.py

+ 1
- 0
octodns/manager.py View File

@ -69,6 +69,7 @@ class Manager(object):
manager_config = self.config.get('manager', {})
max_workers = manager_config.get('max_workers', 1) \
if max_workers is None else max_workers
self.log.info('__init__: max_workers=%d', max_workers)
if max_workers > 1:
self._executor = ThreadPoolExecutor(max_workers=max_workers)
else:


Loading…
Cancel
Save