Sitelet https://github.com/Free2MoveApp/snipe-it/commit/4ffb8f14b844a3d227ae54dfb4fe77a2cc9f9c0a
Skip to content

Commit 4ffb8f1

Browse files
Ben RUBSONsnipe
authored andcommitted
Improve Memcached settings (grokability#6485)
* Improved memcached settings * Improved memcached settings
1 parent d023f61 commit 4ffb8f1

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

‎.env.example‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,20 @@ ENABLE_CSP=false
7272
CACHE_DRIVER=file
7373
SESSION_DRIVER=file
7474
QUEUE_DRIVER=sync
75+
CACHE_PREFIX=snipeit
7576

7677
# --------------------------------------------
7778
# OPTIONAL: REDIS SETTINGS
7879
# --------------------------------------------
7980
REDIS_HOST=null
8081
REDIS_PASSWORD=null
81-
REDIS_PORT-null
82+
REDIS_PORT=null
83+
84+
# --------------------------------------------
85+
# OPTIONAL: MEMCACHED SETTINGS
86+
# --------------------------------------------
87+
MEMCACHED_HOST=null
88+
MEMCACHED_PORT=null
8289

8390
# --------------------------------------------
8491
# OPTIONAL: AWS S3 SETTINGS

‎config/cache.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,6 @@
8686
|
8787
*/
8888

89-
'prefix' => 'snipeit',
89+
'prefix' => env('CACHE_PREFIX', 'snipeit'),
9090

9191
];

0 commit comments

Comments
 (0)