From adc2b92f96417c0ecafd0d253e48cf442d81f27e Mon Sep 17 00:00:00 2001 From: Akhil Date: Tue, 30 Jul 2024 12:41:27 +0530 Subject: [PATCH] Increase sleep timeout to 5 seconds --- appinfo/info.xml | 2 +- lib/Controller/AccountController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 292a0fa0..c4b6a53d 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -10,7 +10,7 @@ - 7.0.0 + 7.0.1 agpl Murena SAS EcloudAccounts diff --git a/lib/Controller/AccountController.php b/lib/Controller/AccountController.php index 7081ba9a..b6aab241 100644 --- a/lib/Controller/AccountController.php +++ b/lib/Controller/AccountController.php @@ -174,7 +174,7 @@ class AccountController extends Controller { $mainDomain = $this->userService->getMainDomain(); $userEmail = $username.'@'.$mainDomain; $this->userService->registerUser($displayname, $recoveryEmail, $username, $userEmail, $password, $language); - sleep(2); + sleep(5); $this->userService->setAccountDataLocally($username, $userEmail); $this->userService->createHMEAlias($username, $userEmail); -- GitLab