Skip to content

Commit

Permalink
Moved the Imports Out The _main__
Browse files Browse the repository at this point in the history
  • Loading branch information
TebogoYungMercykay committed Sep 27, 2024
1 parent 857153b commit f9ff974
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions proxy/python/wsgi.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from app.main import app
import os
from gunicorn.app.wsgiapp import run

if __name__ == "__main__":
import os
from gunicorn.app.wsgiapp import run

os.environ['GUNICORN_CMD_ARGS'] = '--workers 4 --timeout 120'
run()

run()

0 comments on commit f9ff974

Please sign in to comment.