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 cbabe51 commit 7f1ee14Copy full SHA for 7f1ee14
README.md
@@ -50,7 +50,7 @@ The second way is to use properties to create one or several caches.
50
#### .properties
51
52
```properties
53
-# TTL (in seconds).
+# TTL (in seconds). This property is optional, the default value is: 7 days.
54
spring.cache.mongo.caches[0].ttl =
55
56
# MongoDB collection name.
@@ -60,7 +60,7 @@ spring.cache.mongo.caches[0].collectionName =
60
spring.cache.mongo.caches[0].cacheName =
61
62
# Value that indicates if the collection must be flushed when the application starts.
63
-spring.cache.mongo.caches[0].flushOnBoot = false
+spring.cache.mongo.caches[0].flushOnBoot =
64
```
65
66
#### YAML
0 commit comments