Skip to content

Commit b60f544

Browse files
committed
updated readme
1 parent 24bbda1 commit b60f544

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,16 @@ Change the Sentry DSN by using the `RAVEN_DSN` env variable or changing the conf
5656
RAVEN_DSN=your-raven-dsn
5757
```
5858

59-
This library uses the queue system, make sure your `config/queue.php` file is configured correctly. You can also specify the connection and the queue to use in the raven config. Connection must exist in `config/queue.php` and a custom queue can be defined. These can be set using the `RAVEN_QUEUE_CONNECTION` for connection and `RAVEN_QUEUE_QUEUE` for the custom queue.
59+
This library uses the queue system, make sure your `config/queue.php` file is configured correctly. You can also specify the connection and the queue to use in the raven config. The connection and queue must exist in `config/queue.php`. These can be set using the `RAVEN_QUEUE_CONNECTION` for connection and `RAVEN_QUEUE_NAME` for the queue.
6060

6161
```php
62-
RAVEN_QUEUE_CONNECTION=beanstalkd
62+
RAVEN_QUEUE_CONNECTION=redis
6363
RAVEN_QUEUE_NAME=error
6464
```
6565

66+
**The job data can be quite large, ensure you are using a queue that can support large data sets like `redis` or `sqs`**.
67+
If the job fails to add into the queue, it will be sent directly to sentry, slowing down the request, so its not lost.
68+
6669
## Usage
6770

6871
To monitor exceptions, simply use the `Log` facade or helper:

src/config/config.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
| Your project's DSN, found under 'API Keys' in your project's settings.
2121
|
2222
*/
23-
2423
'dsn' => env('RAVEN_DSN', ''),
2524

2625
/*
@@ -34,7 +33,6 @@
3433
| 'critical', 'alert', 'emergency'
3534
|
3635
*/
37-
3836
'level' => env('RAVEN_LEVEL', 'error'),
3937

4038
/*
@@ -47,7 +45,6 @@
4745
| Defaults to the default connection and queue from config/queue.php
4846
|
4947
*/
50-
5148
'queue' => [
5249
'connection' => env('RAVEN_QUEUE_CONNECTION', ''),
5350
'name' => env('RAVEN_QUEUE_NAME', ''),
@@ -61,7 +58,6 @@
6158
| Customise the Monolog Raven handler.
6259
|
6360
*/
64-
6561
'monolog' => [
6662

6763
/*
@@ -100,7 +96,6 @@
10096
| Example: "name", "tags", "trace", "timeout", "exclude", "extra", ...
10197
|
10298
*/
103-
10499
'options' => [],
105100

106101
];

0 commit comments

Comments
 (0)