mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
relaxed mode set to 3 min
This commit is contained in:
@@ -61,7 +61,7 @@ def run_area(area):
|
|||||||
# using relaxed mode for while the servers are still deploying
|
# using relaxed mode for while the servers are still deploying
|
||||||
now = datetime.now(timezone.utc)
|
now = datetime.now(timezone.utc)
|
||||||
delta = now - last_modified
|
delta = now - last_modified
|
||||||
relaxed_mode = delta < timedelta(minutes=2)
|
relaxed_mode = delta < timedelta(minutes=3)
|
||||||
|
|
||||||
if relaxed_mode:
|
if relaxed_mode:
|
||||||
print(' using relaxed mode')
|
print(' using relaxed mode')
|
||||||
|
|||||||
Reference in New Issue
Block a user