Skip to content

Commit 743be61

Browse files
authored
Drop Prometheus middleware from dramatiq settings (#234)
Prometheus client became optional in dramatiq: https://github.com/Bogdanp/dramatiq/releases/tag/v2.0.0 Unfreeze dramatiq dependency
1 parent ae4f605 commit 743be61

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ test = [
4444
"redis",
4545
]
4646
dramatiq = [
47-
"dramatiq<2",
47+
"dramatiq",
4848
"django-dramatiq",
4949
]
5050
celery = [

tests/testapp/settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@
151151
DRAMATIQ_BROKER = {
152152
"BROKER": os.getenv("DRAMATIQ_BROKER", "dramatiq.brokers.redis.RedisBroker"),
153153
"MIDDLEWARE": [
154-
"dramatiq.middleware.Prometheus",
155154
"dramatiq.middleware.AgeLimit",
156155
"dramatiq.middleware.TimeLimit",
157156
"dramatiq.middleware.Callbacks",

0 commit comments

Comments
 (0)