Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
D-GENIES
Commits
8adec39f
Commit
8adec39f
authored
Apr 06, 2018
by
Floreal Cabanettes
Browse files
Fix: make app threaded to allow multiprocess
parent
f4591d30
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/dgenies
View file @
8adec39f
...
...
@@ -121,7 +121,7 @@ def run(mode="standalone", debug=False, host="127.0.0.1", port=5000, no_crons=Fa
"app"
:
app
})
thread
.
start
()
app
.
run
(
host
=
host
,
port
=
port
,
debug
=
debug
)
app
.
run
(
host
=
host
,
port
=
port
,
debug
=
debug
,
threaded
=
True
)
def
clear_crons
():
...
...
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