generated from cpp-best-practices/gui_starter_template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RestBackend: Do not expire connections that are in use
Actually update the "lastUsed" timestamp when accessing a cached connection. Otherwise the cache is destroyed and recreated in normal operation, leading to LongPollingIdx=Next requests to fail (as they were redirected to the latest index before cache reset, which is then considered a "future" index, as the latest index is reset to 0).
- Loading branch information
1 parent
09cc4c9
commit ccbd978
Showing
1 changed file
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters