diff --git a/backend/areas/users/user_service.py b/backend/areas/users/user_service.py index 8ef92c12c7adc8de36e8d2391a501f48e8d45b81..2de4f41b1ee9282a7fc730fe8d3806550f7a9162 100644 --- a/backend/areas/users/user_service.py +++ b/backend/areas/users/user_service.py @@ -262,8 +262,6 @@ class UserService: def recovery_complete(userID): # Current unix time. now = int(datetime.today().timestamp()) - current_app.logger.info("Waiting a little while before setting last_recovery...") - time.sleep(0.5) current_app.logger.info(f"Set last_recovery for {userID} to {now}") patch = JsonPatch(op="replace", path="/metadata_admin/last_recovery", value=now) patch_doc = JsonPatchDocument(value=[patch])