Skip to content

Commit 7f23150

Browse files
authored
Cache query for contrib count
1 parent b37f0c1 commit 7f23150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sync.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ public function _get_contrib_count($category_id)
609609
);
610610

611611
$sql = $this->db->sql_build_query('SELECT', $sql_ary);
612-
$this->db->sql_query($sql);
612+
$this->db->sql_query($sql, 3600);
613613
$cnt = (int) $this->db->sql_fetchfield('cnt');
614614
$this->db->sql_freeresult();
615615

0 commit comments

Comments
 (0)