aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/cppparser/parser.cpp
diff options
context:
space:
mode:
authorDaniil Cherednik <dcherednik@ydb.tech>2024-03-22 10:49:11 +0100
committerGitHub <noreply@github.com>2024-03-22 10:49:11 +0100
commit431b71bad02da68c09bb39a8de5d5cd8da59e0d5 (patch)
tree6b140b7be36aef7cf8f2a31f91a8c02265b78340 /library/cpp/cppparser/parser.cpp
parenta79b3827a401dee7bb30f50bf4ee89a41e4e3dd1 (diff)
downloadydb-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