diff --git a/brian_dashboard_manager/routes/update.py b/brian_dashboard_manager/routes/update.py index f890e38cc69d4c3ad4feee676364f85cbf2afadc..56ada82117d92c40804f694e7240983ab73733c6 100644 --- a/brian_dashboard_manager/routes/update.py +++ b/brian_dashboard_manager/routes/update.py @@ -51,9 +51,9 @@ def should_provision(): state.get('timestamp', 1)) now = datetime.datetime.now() - if provisioning and (now - timestamp).total_seconds() > 86400: + if provisioning and (now - timestamp).total_seconds() > 3600: # if we stay in provisioning state - # for over a day, we probably restarted + # for over an hour, we probably restarted # and the state file is out of sync. provisioning = False