-
Notifications
You must be signed in to change notification settings - Fork 1
/
Settings.php
64 lines (63 loc) · 1.77 KB
/
Settings.php
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/**
* Holds App settings for example the session name that you want to use, the remember
* key token name that you wish to use
* And settings for the email clients
*
* @return array
*/
return [
'session' => [
'name' => 'yuga_session',
],
'remember' => [
'name' => 'hash_token',
'expiry' => 604800
],
'mailable' => [
'Native' => [
'from' => '[email protected]',
'type' => 'smtp', //quite a few options we have [mail, sendmail or smtp]
'smtp' => [
'smtp_host' => '',
'smtp_port' => 465,
'smtp_user' => '',
'smtp_pass' => '',
'mailtype' => 'html',
'charset' => 'iso-8859-1'
]
]
],
'app' => [
'name' => null,
],
'scheduler' => [
'FilePath' => storage(env('SCHEDULER_FILE_PATH', 'scheduler')),
'FileName' => 'jobs',
'logSavingMethod' => 'file',
],
'queue' => [
'default' => 'wait',
'connections' => [
'wait' => [
'driver' => 'wait',
'queue' => 'default',
],
'database' => [
'driver' => 'database',
'table' => 'jobs',
'queue' => 'default',
'expire' => 60,
],
'file' => [
]
],
'settings' => [
'maxRetries' => 3,
'timeout' => 30,
'deleteDoneMessagesAfter' => 30 * 3600 * 24,
//the max number of queue entries to process at once.
'maxWorkerBatch' => 20,
]
],
];