Skip to content

Commit 4f805ff

Browse files
committed
Fix parameter name
Signed-off-by: Federico Busetti <[email protected]>
1 parent a0aff6f commit 4f805ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/dramatiq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def init_dramatiq(config: AppConfig):
1313
broker = StubBroker()
1414
# broker.emit_after("process_boot")
1515
elif config.DRAMATIQ.REDIS_URL is not None:
16-
broker = RedisBroker(host=config.DRAMATIQ.REDIS_URL)
16+
broker = RedisBroker(url=config.DRAMATIQ.REDIS_URL)
1717
else:
1818
raise RuntimeError("Running a non-test environment without Redis URL set")
1919
broker.add_middleware(AsyncIO())

0 commit comments

Comments
 (0)