Skip to content

Commit 26a38c1

Browse files
committed
Reduce cache life time for solr searches
1 parent b20cd4b commit 26a38c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/models/SolrSearch.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class SolrSearch{
117117
118118

119119

120-
const cacheLife = 72000; // cache lifetime, measured in seconds, 7200 = 2 hours
120+
const cacheLife = 7200; // cache lifetime, measured in seconds, 7200 = 2 hours
121121
const searchCache = "./search_cache/"; // Directory where to put the cache files;
122122

123123

0 commit comments

Comments
 (0)