Skip to content

Commit b1ea84d

Browse files
committed
Update readme
1 parent 89dda53 commit b1ea84d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ An elastic-search based session driver for Laravel 5.1
2323
"elastic" => [
2424
"url" => "http://localhost:9200/",
2525
"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
26+
"type" => "session"
2827
],
28+
"lifetime" => 30
2929
```
30-
Values shown above are the default values in case you did not configure.
30+
Values shown above for elastic parameter are the default values in case you did not configure.
3131
3232
##Index/Type mapping
3333
Elastic will detect the mapping by default, however, it is recommended to set the mapping explicitly.

0 commit comments

Comments
 (0)