Skip to content

Commit 4785c6f

Browse files
authored
[Bug] Fixed models are not being pruned when enabled (alexjustesen#2037)
1 parent 8c30dd4 commit 4785c6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes/console.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Schedule::command('model:prune')
1010
->daily()
1111
->when(function () {
12-
return config('speedtest.prune_speedtests_older_than') > 0;
12+
return config('speedtest.prune_results_older_than') > 0;
1313
});
1414

1515
/**

0 commit comments

Comments
 (0)