Test shutdown.
This commit is contained in:
parent
c99d73dbc1
commit
fa1f7cfd97
@ -389,9 +389,3 @@ t1.start()
|
|||||||
xprint('toto2')
|
xprint('toto2')
|
||||||
gunicorn_app = app
|
gunicorn_app = app
|
||||||
xprint('toto3')
|
xprint('toto3')
|
||||||
while True:
|
|
||||||
if stop.is_set():
|
|
||||||
dbconn.close()
|
|
||||||
break
|
|
||||||
time.sleep(0.5)
|
|
||||||
exit(0)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user