fix: only publish repost progress to doc subscriber (#36400)

Huge size of string gets blasted to everyone on site. Due to some memory
leak (cause unknown) till sockets are open the strings are also in
process' memory.

related https://github.com/frappe/frappe/issues/21863
This commit is contained in:
Ankush Menat 2023-07-29 15:02:11 +05:30 committed by GitHub
parent b71dafd1f1
commit c0642cf528
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -358,6 +358,8 @@ def update_args_in_repost_item_valuation(
"current_index": index,
"total_reposting_count": len(args),
},
doctype=doc.doctype,
docname=doc.name,
)