summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Reporting
diff options
context:
space:
mode:
authorMichael Fenn <fennm@deshawresearch.com>2013-10-14 14:33:44 -0400
committerMichael Fenn <fennm@deshawresearch.com>2013-10-14 14:33:44 -0400
commit171179777d0b6104440a87bae7f4aff0c82ba297 (patch)
tree075c823a87662df5ab56d0d4d050c64cc17a73f6 /src/lib/Bcfg2/Reporting
parent9b8a2b6bfa0a0586f1c25358519c8d8db1260009 (diff)
downloadbcfg2-171179777d0b6104440a87bae7f4aff0c82ba297.tar.gz
bcfg2-171179777d0b6104440a87bae7f4aff0c82ba297.tar.bz2
bcfg2-171179777d0b6104440a87bae7f4aff0c82ba297.zip
Revert "Reporting: Simple sanity check to avoid creating too many threads"
This reverts commit f813f86f8ac2bc7b55f4eb6a0d936f1ce4f68ba7. Premature optimization is the root of all evil, etc. Conflicts: src/lib/Bcfg2/Reporting/Collector.py
Diffstat (limited to 'src/lib/Bcfg2/Reporting')
-rw-r--r--src/lib/Bcfg2/Reporting/Collector.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/Bcfg2/Reporting/Collector.py b/src/lib/Bcfg2/Reporting/Collector.py
index febdfed13..b42364d8d 100644
--- a/src/lib/Bcfg2/Reporting/Collector.py
+++ b/src/lib/Bcfg2/Reporting/Collector.py
@@ -132,9 +132,6 @@ class ReportingCollector(object):
continue
store_thread = ReportingStoreThread(interaction, self.storage)
- while len(threading.enumerate()) > 100:
- self.logger.info("more than 100 threads running, sleeping")
- time.sleep(1)
store_thread.start()
except (SystemExit, KeyboardInterrupt):
self.logger.info("Shutting down")