Temporary disabled avatar update thread to avoid `FileNotFoundException` until the avatar is updated on both DB and shared FS

This commit is contained in:
Mauro Mugnaini 2024-11-26 16:54:37 +01:00
parent 2e82795988
commit cd6598688e
Signed by: mauro.mugnaini
GPG Key ID: 2440CFD0EB321EA8
1 changed files with 2 additions and 1 deletions

View File

@ -153,7 +153,8 @@ public class OpenIdConnectAutoLogin extends BaseAutoLogin {
} }
// Performing avatar download and save/delete in new thread to avoid distributed network persistence delays // Performing avatar download and save/delete in new thread to avoid distributed network persistence delays
new AvatarThread(configuration, user, token).start(); // Temporary disabled to avoid FileNotFoundException errors after the login until the avatar is updated on both DB and shared FS
// new AvatarThread(configuration, user, token).start();
} catch (SystemException | PortalException e) { } catch (SystemException | PortalException e) {
throw new RuntimeException(e); throw new RuntimeException(e);
} }