diff --git a/queue_job/jobrunner/channels.py b/queue_job/jobrunner/channels.py index 1cce46083..8d2c97c7d 100644 --- a/queue_job/jobrunner/channels.py +++ b/queue_job/jobrunner/channels.py @@ -173,7 +173,16 @@ class ChannelJob: """ - __slots__ = ("db_name", "channel", "uuid", "seq", "date_created", "priority", "eta") + __slots__ = ( + "db_name", + "channel", + "uuid", + "seq", + "date_created", + "priority", + "eta", + "__weakref__", + ) def __init__(self, db_name, channel, uuid, seq, date_created, priority, eta): self.db_name = db_name