Skip to content
Snippets Groups Projects
Commit 6a6f1a0e authored by Simon Künzel's avatar Simon Künzel
Browse files

Increase OAuth periodic check interval (Api currently receives 'slow down' from OAuth servers)

parent 085e3c2b
No related branches found
No related tags found
No related merge requests found
...@@ -160,7 +160,7 @@ function PasswordAuthComponent({ course, lecture }: { course: course; lecture: l ...@@ -160,7 +160,7 @@ function PasswordAuthComponent({ course, lecture }: { course: course; lecture: l
); );
} }
const _OAUTH_FINISH_PERIODIC_CHECK_INTERVAL_SECONDS = 3; const _OAUTH_FINISH_PERIODIC_CHECK_INTERVAL_SECONDS = 5;
const _OAUTH_FINISH_PERIODIC_CHECK_MAX_ATTEMPTS = Math.ceil( const _OAUTH_FINISH_PERIODIC_CHECK_MAX_ATTEMPTS = Math.ceil(
30 / _OAUTH_FINISH_PERIODIC_CHECK_INTERVAL_SECONDS, 30 / _OAUTH_FINISH_PERIODIC_CHECK_INTERVAL_SECONDS,
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment