Skip to content

Commit eb3a8d2

Browse files
committed
Update readme
1 parent b1ea84d commit eb3a8d2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ You can do so manually by applying this mapping to the index and type:
4646
},
4747
"_ttl":{
4848
"enabled":true,
49-
"default":"15m"
49+
"default":"30m"
5050
}
5151
}
5252
}
@@ -58,6 +58,9 @@ Or simpler, the package can do it for you. You will need to tinker `./artisan ti
5858
\ItvisionSy\LaravelElasticSessionDriver\ElasticSessionStore::putMapping();
5959
```
6060

61+
Please note that the `putMapping()` method will automatically read the values from your sessions config file
62+
including the session.lifetime which will be used as the default TTL value.
63+
6164
## Author
6265
Muhannad Shelleh <muhannad.shelleh@live.com>
6366

0 commit comments

Comments
 (0)