Skip to content

Commit cd41c4e

Browse files
committed
Drop Prometheus middleware from dramatiq settings
Prometheus client became optional in dramatiq v2: 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 e6a976f commit cd41c4e

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
@@ -132,7 +132,6 @@
132132
DRAMATIQ_BROKER = {
133133
"BROKER": os.getenv("DRAMATIQ_BROKER", "dramatiq.brokers.redis.RedisBroker"),
134134
"MIDDLEWARE": [
135-
"dramatiq.middleware.Prometheus",
136135
"dramatiq.middleware.AgeLimit",
137136
"dramatiq.middleware.TimeLimit",
138137
"dramatiq.middleware.Callbacks",

0 commit comments

Comments
 (0)