Update telescope config

This commit is contained in:
philipp lang 2022-09-02 00:12:13 +02:00
parent 03b7f0ba64
commit a870ae7462
1 changed files with 11 additions and 2 deletions

View File

@ -116,7 +116,12 @@ return [
'watchers' => [ 'watchers' => [
Watchers\BatchWatcher::class => env('TELESCOPE_BATCH_WATCHER', true), Watchers\BatchWatcher::class => env('TELESCOPE_BATCH_WATCHER', true),
Watchers\CacheWatcher::class => env('TELESCOPE_CACHE_WATCHER', true),
Watchers\CacheWatcher::class => [
'enabled' => env('TELESCOPE_CACHE_WATCHER', true),
'hidden' => [],
],
Watchers\ClientRequestWatcher::class => env('TELESCOPE_CLIENT_REQUEST_WATCHER', true), Watchers\ClientRequestWatcher::class => env('TELESCOPE_CLIENT_REQUEST_WATCHER', true),
Watchers\CommandWatcher::class => [ Watchers\CommandWatcher::class => [
@ -124,7 +129,10 @@ return [
'ignore' => [], 'ignore' => [],
], ],
Watchers\DumpWatcher::class => env('TELESCOPE_DUMP_WATCHER', true), Watchers\DumpWatcher::class => [
'enabled' => env('TELESCOPE_DUMP_WATCHER', true),
'always' => env('TELESCOPE_DUMP_WATCHER_ALWAYS', false),
],
Watchers\EventWatcher::class => [ Watchers\EventWatcher::class => [
'enabled' => env('TELESCOPE_EVENT_WATCHER', true), 'enabled' => env('TELESCOPE_EVENT_WATCHER', true),
@ -162,6 +170,7 @@ return [
Watchers\RequestWatcher::class => [ Watchers\RequestWatcher::class => [
'enabled' => env('TELESCOPE_REQUEST_WATCHER', true), 'enabled' => env('TELESCOPE_REQUEST_WATCHER', true),
'size_limit' => env('TELESCOPE_RESPONSE_SIZE_LIMIT', 64), 'size_limit' => env('TELESCOPE_RESPONSE_SIZE_LIMIT', 64),
'ignore_http_methods' => [],
'ignore_status_codes' => [], 'ignore_status_codes' => [],
], ],