forked from platypush/platypush
use_reloader=False on Flask to prevent the platypush daemon to be spawned twice
This commit is contained in:
parent
39f986a88d
commit
1581685f62
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class HttpBackend(Backend):
|
|||
logging.info('Initialized HTTP backend on port {}'.format(self.port))
|
||||
|
||||
self.server_proc = Process(target=app.run, kwargs={
|
||||
'debug':True, 'host':'0.0.0.0', 'port':self.port
|
||||
'debug':True, 'host':'0.0.0.0', 'port':self.port, 'use_reloader':False
|
||||
})
|
||||
|
||||
time.sleep(1)
|
||||
|
|
Loading…
Reference in a new issue