Skip to content

Commit 164a6e6

Browse files
committed
Drop Prometheus middleware from dramatiq settings
Prometheus client became optional in dramatiq: https://github.com/Bogdanp/dramatiq/releases/tag/v2.0.0 I think we don't need to cover all our dependencies's subdependencies, so it is fine to drop it.
1 parent 1a64de0 commit 164a6e6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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)