We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent def7c81 commit 56dad23Copy full SHA for 56dad23
plato/clients/strategies/base.py
@@ -218,12 +218,5 @@ async def send_report_and_payload(
218
self, context: ClientContext, report: Any, payload: Any
219
) -> None:
220
"""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
-
228
await self.send_report(context, report)
229
await self.send_payload(context, payload)
0 commit comments