We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abaf025 commit 0edcfc1Copy full SHA for 0edcfc1
1 file changed
stats/pp_stage_goal.php
@@ -35,8 +35,8 @@ function _get_pages_posted_data($start_timestamp)
35
36
// Get the total pages for projects that have posted in current month
37
$start_timestamp = mktime(0, 0, 0, (int)date('m'), 1, (int)date('Y'));
38
-// cache pages posted data for 1 day
39
-$pp_pages_total = query_graph_cache("_get_pages_posted_data", [$start_timestamp], 60 * 60 * 24);
+// cache pages posted data for 1 hour
+$pp_pages_total = query_graph_cache("_get_pages_posted_data", [$start_timestamp], 60 * 60);
40
41
// calculate the goal percent as long as $pp_page_goal isn't zero
42
if ($pp_page_goal != 0) {
0 commit comments