mirror of
https://github.com/django/daphne.git
synced 2025-04-21 01:02:06 +03:00
Reduce Daphne HTTP timeout in runserver mode
This commit is contained in:
parent
1869061fa2
commit
484320a675
|
@ -79,6 +79,7 @@ class Command(RunserverCommand):
|
|||
port=int(self.port),
|
||||
signal_handlers=not options['use_reloader'],
|
||||
action_logger=self.log_action,
|
||||
http_timeout=60, # Shorter timeout than normal as it's dev
|
||||
).run()
|
||||
self.logger.debug("Daphne exited")
|
||||
except KeyboardInterrupt:
|
||||
|
|
Loading…
Reference in New Issue
Block a user