`lifespan=on` is actually not required on Flask config level.

This commit is contained in:
Fabio Manganiello 2023-05-07 16:30:41 +02:00
parent 692180c653
commit f81e9061a3
Signed by: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 0 additions and 1 deletions

View File

@ -247,7 +247,6 @@ class HttpBackend(Backend):
), 'The HTTP backend only works if backed by a Redis bus'
application.config['redis_queue'] = self.bus.redis_queue
application.config['lifespan'] = 'on'
application.secret_key = self._get_secret_key()
kwargs = {
'bind': f'{self.bind_address}:{self.port}',