You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: infinite TTLs are not supported anymore, forward ttl=0 (#170)
* fix: infinite TTLs are not supported
* fix add doc hook
* fix e2e tests
* forward ttl=0 to server, but bring back e2e test checking that ttl=0 should default
| ttl | <code>number</code> |time-to-live for key-value pair in seconds, defaults to 24 hours (86400s). Set to < 0 for max ttl of one year. A value of 0 sets default. |
213
+
| ttl | <code>number</code> |Time-To-Live for key-value pair in seconds. When not defined or set to 0, defaults to 24 hours (86400s). Max TTL is one year (31536000s), `require('@adobe/aio-lib-state').MAX_TTL`. A TTL of 0 defaults to 24 hours. |
0 commit comments