From c1ae9d03be8f8d8e66d55f4b16ca6bfb7fb8890c Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Tue, 15 Nov 2022 18:52:40 +0100 Subject: [PATCH] feat(export): show refresh button sooner --- app/models/export.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/export.rb b/app/models/export.rb index 866c7f224..ec13aec82 100644 --- a/app/models/export.rb +++ b/app/models/export.rb @@ -72,7 +72,7 @@ class Export < ApplicationRecord end def old? - updated_at < 20.minutes.ago || filters_changed? + updated_at < 10.minutes.ago || filters_changed? end def filters_changed?