# Token Queue Configuration
/*
|--------------------------------------------------------------------------
| Token Queue Configuration
|--------------------------------------------------------------------------
|
| This section defines the queue connection and queue name used for
| processing token-related jobs, such as issuing, refreshing, or
| revoking tokens asynchronously.
|
| You can configure the connection to use any queue driver supported
| by Laravel, e.g., "sync", "database", "redis", "sqs", etc.
|
*/
'queue' => [
/*
|--------------------------------------------------------------------------
| Token Queue Connection
|--------------------------------------------------------------------------
|
| The queue connection to use for token jobs.
|
| If set to 'sync', jobs will be executed immediately in the current process.
|
*/
'connection' => env('TOKEN_QUEUE_CONNECTION', env('QUEUE_CONNECTION', 'sync')),
/*
|--------------------------------------------------------------------------
| Token Queue's Work Queue
|--------------------------------------------------------------------------
|
| The name of the queue where token jobs will be pushed.
|
| This is useful for separating token jobs from other application jobs and
| allows prioritization or dedicated workers.
|
*/
'queue' => env('TOKEN_QUEUE', 'default'),
],
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
php artisan queue:work
1