Skip to content

Commit 8aa2fe7

Browse files
fix: plugin
1 parent ac6e866 commit 8aa2fe7

File tree

1 file changed

+6
-3
lines changed
  • services/web/server/src/simcore_service_webserver/celery

1 file changed

+6
-3
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
import logging
22

33
from aiohttp import web
4-
from servicelib.aiohttp.application_setup import ModuleCategory, app_module_setup
54

5+
from ..application_setup import ModuleCategory, app_setup_func
66
from ._task_manager import setup_task_manager
77

88
_logger = logging.getLogger(__name__)
99

1010

11-
@app_module_setup(
12-
__name__, ModuleCategory.ADDON, settings_name="WEBSERVER_CELERY", logger=_logger
11+
@app_setup_func(
12+
__name__,
13+
ModuleCategory.ADDON,
14+
settings_name="WEBSERVER_CELERY",
15+
logger=_logger,
1316
)
1417
def setup_celery(app: web.Application):
1518
app.cleanup_ctx.append(setup_task_manager)

0 commit comments

Comments
 (0)