Add sleep
This commit is contained in:
parent
4bef39c728
commit
d05d812189
@ -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()}")
|
||||
|
Loading…
Reference in New Issue
Block a user