Skip to content

Commit

Permalink
Bump advertisers/countries cache life time to 2 days.
Browse files Browse the repository at this point in the history
  • Loading branch information
budzanowski committed Aug 7, 2023
1 parent 1492116 commit 5ed71df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/API/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,6 @@ public static function get_available_discounts( $advertiser_id ) {
*/
public static function get_list_of_ads_supported_countries() {
$request_url = 'advertisers/countries';
return self::make_request( $request_url, 'GET', array(), 'ads', DAY_IN_SECONDS );
return self::make_request( $request_url, 'GET', array(), 'ads', 2 * DAY_IN_SECONDS );
}
}

0 comments on commit 5ed71df

Please sign in to comment.