From 6a6f1a0e9945e3127efbc1edcf324a16bcef6dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20K=C3=BCnzel?= <simonk@fsmpi.rwth-aachen.de> Date: Sat, 10 May 2025 03:25:30 +0200 Subject: [PATCH] Increase OAuth periodic check interval (Api currently receives 'slow down' from OAuth servers) --- src/videoag/authentication/ViewPermissions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/videoag/authentication/ViewPermissions.tsx b/src/videoag/authentication/ViewPermissions.tsx index 6f50d71..6fc1f0c 100644 --- a/src/videoag/authentication/ViewPermissions.tsx +++ b/src/videoag/authentication/ViewPermissions.tsx @@ -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( 30 / _OAUTH_FINISH_PERIODIC_CHECK_INTERVAL_SECONDS, ); -- GitLab