From cad8685eb591183cce2774dbb5ca250186deff47 Mon Sep 17 00:00:00 2001 From: Justin Shreve Date: Wed, 2 Aug 2017 12:55:51 -0700 Subject: [PATCH] Up the transient timeout for the GH response to 12 hours --- auto-update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto-update.php b/auto-update.php index 0d0690c..9b29e93 100644 --- a/auto-update.php +++ b/auto-update.php @@ -40,7 +40,7 @@ private function maybe_fetch_github_response() { foreach ( $response as $entry ) { if ( false === ( bool ) $entry['prerelease'] ) { $gh_response = $entry; - set_transient( 'wc_api_dev_gh_response', $entry, 2 * HOUR_IN_SECONDS ); + set_transient( 'wc_api_dev_gh_response', $entry, 12 * HOUR_IN_SECONDS ); break; } }