mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
997dbcd5d9
commit
b115d44b6a
@@ -87,7 +87,7 @@ class DeferredWorker(QueueProcessingWorker):
|
||||
.order_by("id")[:batch_size]
|
||||
.values_list("id", flat=True)
|
||||
)
|
||||
UserMessage.select_for_update_query().filter(message__in=messages).extra(
|
||||
UserMessage.select_for_update_query().filter(message__in=messages).extra( # noqa: S610
|
||||
where=[UserMessage.where_unread()]
|
||||
).update(flags=F("flags").bitor(UserMessage.flags.read))
|
||||
total_messages += len(messages)
|
||||
|
Reference in New Issue
Block a user