mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for queues trying to call SQS
This commit is contained in:
parent
e6ed1a85fc
commit
746dc07aa0
@ -43,7 +43,6 @@ class S3Cleanup extends Command
|
||||
public function handle()
|
||||
{
|
||||
|
||||
|
||||
if(!Ninja::isHosted())
|
||||
return;
|
||||
|
||||
|
@ -94,7 +94,7 @@ class Kernel extends ConsoleKernel
|
||||
|
||||
if(config('queue.default') == 'database' && Ninja::isSelfHost() && config('ninja.internal_queue_enabled') && !config('ninja.is_docker')) {
|
||||
|
||||
$schedule->command('queue:work')->everyMinute()->withoutOverlapping();
|
||||
$schedule->command('queue:work database --stop-when-empty')->everyMinute()->withoutOverlapping();
|
||||
|
||||
$schedule->command('queue:restart')->everyFiveMinutes()->withoutOverlapping();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user