Разделение по отдельным репозиториям
This commit is contained in:
11
config/redis.php
Normal file
11
config/redis.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'host' => env('REDIS_HOST', 'keydb'),
|
||||
'port' => (int)env('REDIS_PORT', 6379),
|
||||
'password' => env('REDIS_PASSWORD'),
|
||||
'db' => (int)env('REDIS_DB', 0),
|
||||
'ttl_days' => (int)env('REDIS_TTL_DAYS', 14) * 60 * 60 * 24, // 2 недели
|
||||
];
|
||||
Reference in New Issue
Block a user