Add sleep

This commit is contained in:
decentral1se 2021-06-18 09:28:16 +02:00
parent 4bef39c728
commit d05d812189
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import json
from os import environ
from os.path import exists
from pathlib import Path
from time import sleep
from keycloak import KeycloakAdmin
@ -71,4 +72,7 @@ for email in emails:
print("Bailing out on request...")
exit(1)
print("Sleeping one second to not overload the server...")
sleep(1)
print(f"Final user account count: {keycloak.users_count()}")