Skip to content

Commit

Permalink
Merge pull request #5 from dannon/uwsgi-fork
Browse files Browse the repository at this point in the history
Add a warning when it is detected that a process is uwsgi based but u…
  • Loading branch information
natefoo committed Aug 15, 2016
2 parents 2f0c456 + be7c5bc commit 6ca6f90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/galaxy/util/postfork.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
def pf_dec(func):
return func
postfork = pf_dec
if process_is_uwsgi:
print("WARNING: This is a uwsgi process but the uwsgidecorators library"
" is unavailable. This is likely due to using an external (not"
" in Galaxy's virtualenv) uwsgi and you may experience errors.")


postfork_functions = []
Expand Down

0 comments on commit 6ca6f90

Please sign in to comment.