Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to resolve state sessions race condition (#977)
* Try to resolve state sessions race condition I was not able to reproduce the bug via the integration tests, but this has definitely happened once for me. This change tries to at lease the reduce the chance of the race condition where we loop through the cache and one of the items has been removed. Changes: 1. Reduce frequency of trying to clear state cache 2. Copy keys from loop first 3. Add some additional checks in case cache key does not exist.
- Loading branch information