Skip to content

Commit 9862f0e

Browse files
committed
Change cache ttl for full tokens history.
1 parent 77c4c5c commit 9862f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/lib/ethplorer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2150,7 +2150,7 @@ public function getTokenFullHistoryGrouped($updateCache = FALSE){
21502150
$cache = 'token_full_history_grouped-' . $tsEnd;
21512151
$cacheLifetime = FALSE;
21522152
if($tsEnd > $tsNow){
2153-
$cacheLifetime = 1 * 60 * 60;
2153+
$cacheLifetime = 24 * 60 * 60;
21542154
}
21552155
$result = $this->oCache->get($cache, FALSE, TRUE, $cacheLifetime);
21562156
// Allow generating cache only from cron jobs

0 commit comments

Comments
 (0)