Skip to content

Commit d085c03

Browse files
committed
Revert "Fix CI E1101 error"
This reverts commit 4484b11. This is causing an infinite loop (and thus a memory leak), which means our pods get OOM killed when making signing requests.
1 parent 4484b11 commit d085c03

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/cosalib/fedora_messaging_request.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,7 @@ def error_cb(failure):
194194
}
195195
}
196196

197-
for d in twisted_consume(callback, bindings=bindings, queues=queues):
198-
d.addCallback(registered_cb)
199-
d.addErrback(error_cb) # pylint: disable=E1101
200-
197+
consumers = twisted_consume(callback, bindings=bindings, queues=queues)
198+
consumers.addCallback(registered_cb)
199+
consumers.addErrback(error_cb) # pylint: disable=E1101
201200
reactor.run(installSignalHandlers=False) # pylint: disable=E1101

0 commit comments

Comments
 (0)