Skip to content

Conversation

@mostafaznv
Copy link
Contributor

@mostafaznv mostafaznv commented May 24, 2025

This pull request enhances the CacheWatcher functionality in Telescope by introducing an ignore option, allowing specific cache keys to be skipped. This addition provides greater flexibility in controlling which cache events are recorded.

The motivation behind this feature was the realization that Telescope was recording laravel:pulse:restart into the database every second, consuming excessive disk space. Unfortunately, these records are not pruned with the prune command. Since this type of data is unnecessary for my use case, and there should be other use cases, I developed this option to exclude specific cache keys.

@taylorotwell taylorotwell merged commit 9be1b88 into laravel:5.x May 26, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants