fix: frappe.local has not _realtime_log (#33236)

This commit is contained in:
avc 2025-07-07 07:36:04 +02:00 committed by GitHub
parent 8978d24f9d
commit 38c64da0d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,6 +84,8 @@ def publish_realtime(
def flush_realtime_log():
if not hasattr(frappe.local, "_realtime_log"):
return
for args in frappe.local._realtime_log:
frappe.realtime.emit_via_redis(*args)