mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Don't corrupt shared cache on subsequent protocol requests
This commit is contained in:
parent
2f267ee160
commit
033d43e419
@ -201,7 +201,9 @@ class ApplicationServicesHandler(object):
|
||||
|
||||
# Merge the 'instances' lists of multiple results, but just take
|
||||
# the other fields from the first as they ought to be identical
|
||||
# deep-clone the result so as not to corrupt the cached one
|
||||
combined = dict(infos[0])
|
||||
combined["instances"] = list(combined["instances"])
|
||||
|
||||
for info in infos[1:]:
|
||||
combined["instances"].extend(info["instances"])
|
||||
|
Loading…
Reference in New Issue
Block a user