Add config for new Memcached features

Adds config for persistent connections, SASL authentication, and custom options
This commit is contained in:
Tom Castleman
2016-04-29 17:45:51 +01:00
committed by Tom Castleman
parent 749528db0c
commit 9dc2d60336

View File

@@ -49,6 +49,14 @@ return [
'memcached' => [
'driver' => 'memcached',
'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
'sasl' => [
env('MEMCACHED_USERNAME'),
env('MEMCACHED_PASSWORD'),
],
'options' => [
//Memcached::OPT_CONNECT_TIMEOUT => 2000,
],
'servers' => [
[
'host' => env('MEMCACHED_HOST', '127.0.0.1'),