aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/ICache.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/ICache.php')
-rw-r--r--lib/public/ICache.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/public/ICache.php b/lib/public/ICache.php
index ba6016c8d28..5e755d81e14 100644
--- a/lib/public/ICache.php
+++ b/lib/public/ICache.php
@@ -16,6 +16,11 @@ namespace OCP;
*/
interface ICache {
/**
+ * @since 30.0.0
+ */
+ public const DEFAULT_TTL = 24 * 60 * 60;
+
+ /**
* Get a value from the user cache
* @param string $key
* @return mixed