diff options
author | Daniil Cherednik <dcherednik@ydb.tech> | 2024-03-22 10:49:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-22 10:49:11 +0100 |
commit | 431b71bad02da68c09bb39a8de5d5cd8da59e0d5 (patch) | |
tree | 6b140b7be36aef7cf8f2a31f91a8c02265b78340 /library/cpp/cppparser/parser.cpp | |
parent | a79b3827a401dee7bb30f50bf4ee89a41e4e3dd1 (diff) | |
download | ydb-431b71bad02da68c09bb39a8de5d5cd8da59e0d5.tar.gz |
Fix update token interval calculation. (#3064)
We should chouse min value from expiresIn and RefreshPeriod_, not max one
Also reduce server returned interval by 2 to prevent race at expiring time.
Diffstat (limited to 'library/cpp/cppparser/parser.cpp')
0 files changed, 0 insertions, 0 deletions