mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Code like this is dangerous:
class SimpleQueue(object):
queues = set()
because all instances will share the same 'queues' set object.
We don't really need multiple instances, but neither is there a reason to break
them. So do the normal Python thing instead.
(imported from commit a56bb8414dd549cfd312c9565df198cf9d20f08a)
2.4 KiB
2.4 KiB