From 1913318124f0ac26824a7c628d26e1c241c279c8 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 13 Dec 2020 07:54:25 +1100 Subject: [PATCH] bump the import cache timeout from 10 minutes to 60 minutes --- app/Http/Controllers/ImportController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ImportController.php b/app/Http/Controllers/ImportController.php index 737c1829a6..6d9c7eeeb2 100644 --- a/app/Http/Controllers/ImportController.php +++ b/app/Http/Controllers/ImportController.php @@ -75,7 +75,7 @@ class ImportController extends Controller $hash = Str::random(32); //store the csv in cache with an expiry of 10 minutes - Cache::put($hash, base64_encode(file_get_contents($request->file('file')->getPathname())), 10); + Cache::put($hash, base64_encode(file_get_contents($request->file('file')->getPathname())), 60); //parse CSV $csv_array = $this->getCsvData(file_get_contents($request->file('file')->getPathname()));