Skip to content

Commit

Permalink
Adding documentation for age parameter in pruning command
Browse files Browse the repository at this point in the history
Depends on PR laravel/telescope#401
  • Loading branch information
denjaland authored Nov 16, 2018
1 parent 5a4ab29 commit 5a79ccf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions telescope.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ Without pruning, the `telescope_entries` table can accumulate records very quick

$schedule->command('telescope:prune')->daily();

By default, all entries older than 24 hours will be pruned. If you would like to alter the age before pruning, you may add an `age` option to define the age of an entry before. The following command will prune records older than 48 hours:

$schedule->command('telescope:prune --age=48')->daily();

<a name="dashboard-authorization"></a>
## Dashboard Authorization

Expand Down

0 comments on commit 5a79ccf

Please sign in to comment.