mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
bump the import cache timeout from 10 minutes to 60 minutes
This commit is contained in:
parent
5a9d0757cf
commit
1913318124
@ -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()));
|
||||
|
Loading…
Reference in New Issue
Block a user