Closed t3hmrman closed 1 year ago
If given a sync function that resolves after a long interval (ex. 10 minutes), the SyncWaiter will blow past it's timeout.
SyncWaiter
Thanks to TroyDota on Reddit for gesturing towards the easiest mitigation -- spawning a thread and checking for completion.
It's a bit of an edge case (most checks will be short) but timeouts not being honored is a bug.
If given a sync function that resolves after a long interval (ex. 10 minutes), the
SyncWaiter
will blow past it's timeout.Thanks to TroyDota on Reddit for gesturing towards the easiest mitigation -- spawning a thread and checking for completion.
It's a bit of an edge case (most checks will be short) but timeouts not being honored is a bug.