Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Communications Backbone System
communications-backbone
Commits
3959f6dd
Unverified
Commit
3959f6dd
authored
2 years ago
by
Dan Jones
Browse files
Options
Download
Email Patches
Plain Diff
fix: replace process pool with thread pool
parent
56dd8725
Pipeline
#110180
passed with stages
in 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
soar_bus.py
soar_bus.py
+1
-1
No files found.
soar_bus.py
View file @
3959f6dd
...
...
@@ -180,7 +180,7 @@ if __name__ == "__main__":
s
.
close
()
try
:
with
concurrent
.
futures
.
Process
PoolExecutor
()
as
executor
:
with
concurrent
.
futures
.
Thread
PoolExecutor
(
max_workers
=
20
)
as
executor
:
main
(
executor
)
except
KeyboardInterrupt
:
executor
.
shutdown
(
wait
=
False
)
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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