Skip to content

Commit

Permalink
adjust horizon redis size
Browse files Browse the repository at this point in the history
  • Loading branch information
Gummibeer committed Nov 29, 2023
1 parent 77582c2 commit 2a33f93
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions config/horizon.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@
*/

'trim' => [
'recent' => CarbonInterval::day()->totalMinutes,
'pending' => CarbonInterval::day()->totalMinutes,
'completed' => CarbonInterval::day()->totalMinutes,
'recent_failed' => CarbonInterval::day()->totalMinutes,
'failed' => CarbonInterval::week()->totalMinutes,
'monitored' => CarbonInterval::week()->totalMinutes,
'recent' => CarbonInterval::hour()->totalMinutes,
'pending' => CarbonInterval::hour()->totalMinutes,
'completed' => CarbonInterval::hour()->totalMinutes,
'recent_failed' => CarbonInterval::hours(6)->totalMinutes,
'failed' => CarbonInterval::day()->totalMinutes,
'monitored' => CarbonInterval::hours(6)->totalMinutes,
],

/*
Expand All @@ -133,8 +133,8 @@

'metrics' => [
'trim_snapshots' => [
'job' => CarbonInterval::day()->totalMinutes / 5,
'queue' => CarbonInterval::day()->totalMinutes / 5,
'job' => CarbonInterval::hours(3)->totalMinutes / 5,
'queue' => CarbonInterval::hours(3)->totalMinutes / 5,
],
],

Expand Down

0 comments on commit 2a33f93

Please sign in to comment.