setup wizard debug

This commit is contained in:
Čarodej
2022-03-13 18:30:03 +01:00
parent 2bba6dc051
commit 5e48af22a2
100 changed files with 308 additions and 300 deletions
@@ -46,7 +46,7 @@ class AutoSubscribeForMeteredBillingAction
// Create balance with 0 amount
$user->balance()->create([
'amount' => 0,
'currency' => $plan->currency,
'currency' => $plan->currency, // todo: issue where plan is not created yet
]);
}
+1 -1
View File
@@ -44,7 +44,7 @@ if (! function_exists('isRunningCron')) {
*/
function isRunningCron(): bool
{
return cache()->has('latest_cron_update') && Carbon::parse(cache()->get('latest_cron_update'))->diffInMinutes(now()) < 5;
return cache()->has('latest_cron_update') && Carbon::parse(cache()->get('latest_cron_update'))->diffInMinutes(now()) < 2;
}
}