mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 22:24:34 -04: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 );
|
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);
|
return response()->json(['message' => 'Processing'], 200);
|
||||||
|
|
||||||
|
@ -73,6 +73,10 @@ class CompanyImport implements ShouldQueue
|
|||||||
{
|
{
|
||||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels, MakesHash;
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels, MakesHash;
|
||||||
|
|
||||||
|
public $tries = 1;
|
||||||
|
|
||||||
|
public $timeout = 0;
|
||||||
|
|
||||||
protected $current_app_version;
|
protected $current_app_version;
|
||||||
|
|
||||||
private $account;
|
private $account;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user