Update (test): add indexing route

This commit is contained in:
2023-09-26 02:43:18 +08:00
parent a41ca42fdb
commit d4a83655ae

View File

@@ -17,7 +17,7 @@ protected function schedule(Schedule $schedule): void
// AI Gen Scheduler
$launched_date = Carbon::parse(config('platform.global.launched_epoch'));
$launched_date = Carbon::parse(intval(config('platform.global.launched_epoch')));
$days_since_launch = now()->diffInDays($launched_date) + 1;
$posts_to_generate = get_exponential_posts_gen_by_day($days_since_launch);
$mins_between_posts = floor((24 * 60) / $posts_to_generate);