Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(runtime): excessive latency introduced by sleep (#2298)
When recovering from `EAGAIN`, the `@jsii/runtime` recently added a synchronous sleep for 50 milliseconds. However in large and complex applications, this can add up to a lot of time, as worst case scenario, the sleep can occur before and after each call (once on read, once on write). This change removes the `sleep` until we come up with a better solution. Fixes #2284 --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
- Loading branch information