Skip to content

Commit 026a310

Browse files
committed
Create dramatiq worker
Signed-off-by: Federico Busetti <[email protected]>
1 parent 7d35dd6 commit 026a310

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/dramatiq_worker/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
"""
2+
This is a tiny layer that takes care of initialising the shared
3+
application layers (storage, logs) when running standalone workers
4+
without having to initialise the HTTP framework (or other ones)
5+
"""
6+
7+
from common.bootstrap import AppConfig, application_init
8+
9+
application_init(AppConfig())

0 commit comments

Comments
 (0)