mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Implement slight delay on Company Import
This commit is contained in:
parent
12a31b79e7
commit
c2e2ab60cb
@ -70,7 +70,7 @@ class ImportJsonController extends BaseController
|
||||
|
||||
Cache::put( $hash, base64_encode( $contents ), 3600 );
|
||||
|
||||
CompanyImport::dispatch(auth()->user()->getCompany(), auth()->user(), $hash, $request->except('files'));
|
||||
CompanyImport::dispatch(auth()->user()->getCompany(), auth()->user(), $hash, $request->except('files'))->delay(now()->addMinutes(2));
|
||||
|
||||
return response()->json(['message' => 'Processing'], 200);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user