We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89dda53 commit b1ea84dCopy full SHA for b1ea84d
README.md
@@ -23,11 +23,11 @@ An elastic-search based session driver for Laravel 5.1
23
"elastic" => [
24
"url" => "http://localhost:9200/",
25
"index" => "laravel-es-sessions",
26
- "type" => "session",
27
- 'ttl' => '15m' //check https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-ttl-field.html#_default_ttl
+ "type" => "session"
28
],
+ "lifetime" => 30
29
```
30
- Values shown above are the default values in case you did not configure.
+ Values shown above for elastic parameter are the default values in case you did not configure.
31
32
##Index/Type mapping
33
Elastic will detect the mapping by default, however, it is recommended to set the mapping explicitly.
0 commit comments