mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
Add sleep between BunkerNet registering and ping to the API to avoid being rate limited
This commit is contained in:
parent
283828e8f7
commit
4f334a577a
1 changed files with 2 additions and 0 deletions
|
@ -98,6 +98,8 @@ try:
|
|||
bunkernet_id = Path("/var/cache/bunkerweb/bunkernet/instance.id").read_text()
|
||||
logger.info(f"Already registered on BunkerNet API with instance id {get_id()}")
|
||||
|
||||
sleep(1)
|
||||
|
||||
# Ping
|
||||
logger.info("Checking connectivity with BunkerNet API ...")
|
||||
bunkernet_ping = False
|
||||
|
|
Loading…
Reference in a new issue