mirror of
https://github.com/idanoo/laravel-resque.git
synced 2025-07-02 11:32:14 +00:00
make it configurable which redis config to use
This commit is contained in:
parent
17f9d2a176
commit
479e441d29
2 changed files with 15 additions and 2 deletions
|
@ -2,6 +2,15 @@
|
|||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Redis Config
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => env('RESQUE_REDIS', 'resque'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Prefix
|
||||
|
@ -9,6 +18,6 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'prefix' => env('RESQUE_PREFIX', 'resque'),
|
||||
'prefix' => 'lethe_' . env('APP_ID'),
|
||||
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue