From f81e9061a3eab884255dba7730e478593d650149 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 7 May 2023 16:30:41 +0200 Subject: [PATCH] `lifespan=on` is actually not required on Flask config level. --- platypush/backend/http/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/platypush/backend/http/__init__.py b/platypush/backend/http/__init__.py index df9b0b3314..6fc4dab1b5 100644 --- a/platypush/backend/http/__init__.py +++ b/platypush/backend/http/__init__.py @@ -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}',