added install readme disclaimer and don't log max thread messages to terminal
This commit is contained in:
parent
4eeed15ecb
commit
08d5d9e425
5
install/README.md
Normal file
5
install/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Service/System Installation Notes
|
||||||
|
|
||||||
|
Currently, the most reliable and well tested way to use Onionr is straight from the master branch of the repository, or from the released bundles.
|
||||||
|
|
||||||
|
System services and system-wide installation is not supported well yet.
|
@ -67,7 +67,7 @@ class OnionrCommunicatorTimers:
|
|||||||
if self.make_thread:
|
if self.make_thread:
|
||||||
for i in range(self.thread_amount):
|
for i in range(self.thread_amount):
|
||||||
if self.daemon_inst.threadCounts[self.timer_function.__name__] >= self.max_threads:
|
if self.daemon_inst.threadCounts[self.timer_function.__name__] >= self.max_threads:
|
||||||
logger.debug('%s is currently using the maximum number of threads, not starting another.' % self.timer_function.__name__, terminal=True)
|
logger.debug('%s is currently using the maximum number of threads, not starting another.' % self.timer_function.__name__)
|
||||||
else:
|
else:
|
||||||
self.daemon_inst.threadCounts[self.timer_function.__name__] += 1
|
self.daemon_inst.threadCounts[self.timer_function.__name__] += 1
|
||||||
newThread = threading.Thread(target=self.timer_function, args=self.args, daemon=True,
|
newThread = threading.Thread(target=self.timer_function, args=self.args, daemon=True,
|
||||||
|
Loading…
Reference in New Issue
Block a user