Skip to content

Commit 56dad23

Browse files
committed
Reverted the patch to address transport error (which is caused by
running out of physical memory).
1 parent def7c81 commit 56dad23

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

plato/clients/strategies/base.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,5 @@ async def send_report_and_payload(
218218
self, context: ClientContext, report: Any, payload: Any
219219
) -> None:
220220
"""Send both report metadata and payload to the server."""
221-
if getattr(context, "comm_simulation", False):
222-
# The server reads the simulated payload file as soon as the report arrives.
223-
# Write the payload first to avoid races under high concurrency.
224-
await self.send_payload(context, payload)
225-
await self.send_report(context, report)
226-
return
227-
228221
await self.send_report(context, report)
229222
await self.send_payload(context, payload)

0 commit comments

Comments
 (0)