Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix update token interval calculation. #3064

Merged
merged 2 commits into from
Mar 22, 2024

Conversation

dcherednik
Copy link
Member

We should chouse min value from expiresIn and RefreshPeriod_, not max one

Changelog category

  • Bugfix

Additional information

...

We should chouse min value from expiresIn and RefreshPeriod_, not max one
Copy link

github-actions bot commented Mar 21, 2024

2024-03-21 17:03:47 UTC Pre-commit check for 75952cc has started.
2024-03-21 17:03:49 UTC Build linux-x86_64-release-clang14 is running...
🟢 2024-03-21 17:30:29 UTC Build successful.

Copy link

github-actions bot commented Mar 21, 2024

2024-03-21 17:03:48 UTC Pre-commit check for 75952cc has started.
2024-03-21 17:03:51 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-03-21 17:15:24 UTC Build successful.
2024-03-21 17:15:40 UTC Tests are running...
🔴 2024-03-21 17:49:57 UTC Test run completed, no test results found for commit 152db69. Please check build logs.
2024-03-21 17:50:00 UTC Check cancelled

Copy link

github-actions bot commented Mar 21, 2024

2024-03-21 17:03:51 UTC Pre-commit check for 75952cc has started.
2024-03-21 17:03:54 UTC Build linux-x86_64-release-asan is running...
🟢 2024-03-21 17:25:59 UTC Build successful.
2024-03-21 17:26:17 UTC Tests are running...
🔴 2024-03-21 17:49:55 UTC Test run completed, no test results found for commit 152db69. Please check build logs.
2024-03-21 17:49:58 UTC Check cancelled

Copy link

github-actions bot commented Mar 21, 2024

2024-03-21 17:53:08 UTC Pre-commit check for 1644f9a has started.
2024-03-21 17:53:10 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-03-21 17:56:15 UTC Build successful.
2024-03-21 17:56:30 UTC Tests are running...
🔴 2024-03-21 19:40:59 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
68930 57839 0 4 11011 76

Copy link

github-actions bot commented Mar 21, 2024

2024-03-21 17:53:13 UTC Pre-commit check for 1644f9a has started.
2024-03-21 17:53:16 UTC Build linux-x86_64-release-asan is running...
🟢 2024-03-21 17:54:37 UTC Build successful.
2024-03-21 17:54:54 UTC Tests are running...
🔴 2024-03-21 19:54:31 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15133 14524 0 77 504 28

Copy link

github-actions bot commented Mar 21, 2024

2024-03-21 17:53:40 UTC Pre-commit check for 1644f9a has started.
2024-03-21 17:53:42 UTC Build linux-x86_64-release-clang14 is running...
🟢 2024-03-21 17:57:01 UTC Build successful.

@dcherednik
Copy link
Member Author

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.

@dcherednik dcherednik merged commit 431b71b into ydb-platform:main Mar 22, 2024
3 of 5 checks passed
@dcherednik dcherednik deleted the sdk_iam_fix branch March 22, 2024 10:29
Hor911 pushed a commit to Hor911/ydb that referenced this pull request Mar 25, 2024
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.
Hor911 pushed a commit to Hor911/ydb that referenced this pull request Mar 25, 2024
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.
Hor911 added a commit that referenced this pull request Mar 25, 2024
…nd logs), #3111 (private S3 backets in dynlisting) (#3132)

Co-authored-by: Daniil Cherednik <dcherednik@ydb.tech>
Hor911 added a commit that referenced this pull request Mar 25, 2024
…nd logs), #3111 (private S3 backets in dynlisting) (#3133)

Co-authored-by: Daniil Cherednik <dcherednik@ydb.tech>
@shnikd shnikd mentioned this pull request Mar 26, 2024
This was referenced Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants