retry after max 10 seconds
This commit is contained in:
parent
443d58965d
commit
b15965ed6c
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class TileServer:
|
||||||
break
|
break
|
||||||
logger.info('Retrying after %s seconds...' % wait)
|
logger.info('Retrying after %s seconds...' % wait)
|
||||||
time.sleep(wait)
|
time.sleep(wait)
|
||||||
wait = min(2, wait*2)
|
wait = min(10, wait*2)
|
||||||
|
|
||||||
threading.Thread(target=self.update_cache_package_thread, daemon=True).start()
|
threading.Thread(target=self.update_cache_package_thread, daemon=True).start()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue