Skip to content

Commit c763fae

Browse files
committed
Reverted some changes.
Signed-off-by: Pavel Kirilin <[email protected]>
1 parent 169c062 commit c763fae

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

taskiq_aiohttp/initializer.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,6 @@ def init(broker: AsyncBroker, app_path: str) -> None:
151151
:param broker: current broker.
152152
:param app_path: string with a path to an application or a factory.
153153
"""
154-
# We just import app to discover tasks
155-
# for schedule.
156-
if broker.is_scheduler_process:
157-
app = import_object(app_path)
158-
159154
if not broker.is_worker_process:
160155
return
161156

0 commit comments

Comments
 (0)