[Fix] Internal cron scheduler blocking view responses
Internal cron is now triggered by an axios request from the frontend so it can truly run in a separate request. Fixes #167
This commit is contained in:
1 parent
25034ee2f3
commit
6b688f72e0
8 files changed
+108
-119
No files matched your search
@@ -11,6 +11,6 @@ public function run(): void
|
||||
{
|
||||
Setting::updateOrCreate(['key' => 'invoices.number_format'], ['value' => 'RE-{number}']);
|
||||
Setting::updateOrCreate(['key' => 'invoices.number_start'], ['value' => '1']);
|
||||
Setting::updateOrCreate(['key' => 'app.schedule_method'], ['value' => '1']);
|
||||
Setting::updateOrCreate(['key' => 'app.cron_method'], ['value' => 'request']);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user