Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
piphone-sip
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
La Quadrature du Net
piphone
piphone-sip
Commits
54ce4d47
Commit
54ce4d47
authored
Aug 04, 2016
by
okhin
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Need a max_worker parmaeters to the ThreadPoolExecutor
parent
735f995e
Pipeline
#75
passed with stage
in 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
piphone.py
piphone.py
+1
-1
No files found.
piphone.py
View file @
54ce4d47
...
...
@@ -47,7 +47,7 @@ application = app = Bottle(autojson=False)
app
.
install
(
SQLitePlugin
(
dbfile
=
config
[
'piphone'
][
'db'
]))
app
.
install
(
JSONPlugin
(
json_dumps
=
lambda
s
:
json
.
dumps
(
s
,
cls
=
PiphoneJSONEncoder
)))
threads
=
concurrent
.
futures
.
ThreadPoolExecutor
()
threads
=
concurrent
.
futures
.
ThreadPoolExecutor
(
max_workers
=
5
)
loop
=
asyncio
.
get_event_loop
()
running
=
False
...
...
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