Skip to content

Commit 0012121

Browse files
committed
delete cache after 100 days instead of 30
gharlan#55
1 parent 3b71487 commit 0012121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflow.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public static function requestApi($url, Curl $curl = null, $callback = null, $ma
263263

264264
public static function cleanCache()
265265
{
266-
self::$db->exec('DELETE FROM request_cache WHERE timestamp < ' . (time() - 30 * 24 * 60 * 60));
266+
self::$db->exec('DELETE FROM request_cache WHERE timestamp < ' . (time() - 100 * 24 * 60 * 60));
267267
}
268268

269269
public static function deleteCache()

0 commit comments

Comments
 (0)