mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for company import
This commit is contained in:
parent
7d6676ca14
commit
24e8745b5b
@ -71,7 +71,7 @@ class ImportJsonController extends BaseController
|
||||
|
||||
Cache::put( $hash, base64_encode( $contents ), 3600 );
|
||||
|
||||
CompanyImport::dispatch(auth()->user()->getCompany(), auth()->user(), $hash, $request->except('files'))->delay(now()->addMinutes(1));
|
||||
CompanyImport::dispatch(auth()->user()->getCompany(), auth()->user(), $hash, $request->except('files'))->delay(now()->addMinutes(1))->onQueue('himem');;
|
||||
|
||||
return response()->json(['message' => 'Processing'], 200);
|
||||
|
||||
|
@ -73,6 +73,10 @@ class CompanyImport implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels, MakesHash;
|
||||
|
||||
public $tries = 1;
|
||||
|
||||
public $timeout = 0;
|
||||
|
||||
protected $current_app_version;
|
||||
|
||||
private $account;
|
||||
|
Loading…
Reference in New Issue
Block a user