Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
open
stapled
Commits
3494f958
Commit
3494f958
authored
Oct 30, 2018
by
Chris Snijder
🏅
Browse files
Stop idling threads much faster.
parent
cd59eb01
Pipeline
#5544
passed with stages
in 2 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
stapled/core/daemon.py
View file @
3494f958
...
...
@@ -307,6 +307,7 @@ class Stapledaemon(object):
# Stop threads that have empty queues..
for
thread
in
threads
:
thread
.
stop
=
True
for
thread
in
threads
:
while
thread
.
is_alive
():
yield
False
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment