Skip to content

Commit

Permalink
Increases the timeout for the Blaze payment checkout endpoint (#39420)
Browse files Browse the repository at this point in the history
* Increases the timeout for the Blaze payment checkout endpoint

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10927374420

Upstream-Ref: Automattic/jetpack@8e7b4bb
  • Loading branch information
sbarbosa authored and matticbot committed Sep 18, 2024
1 parent 3514373 commit 3113d21
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 91 deletions.
60 changes: 30 additions & 30 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions vendor/automattic/jetpack-blaze/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.22.11-alpha] - unreleased

This is an alpha version! The changes listed here are not final.

### Fixed
- Increases the timeout for the Blaze payment checkout endpoint

## [0.22.10] - 2024-09-10
### Changed
- Updated package dependencies. [#39302]
Expand Down Expand Up @@ -447,6 +454,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Updated package dependencies. [#27906]

[0.22.11-alpha]: https://github.com/automattic/jetpack-blaze/compare/v0.22.10...v0.22.11-alpha
[0.22.10]: https://github.com/automattic/jetpack-blaze/compare/v0.22.9...v0.22.10
[0.22.9]: https://github.com/automattic/jetpack-blaze/compare/v0.22.8...v0.22.9
[0.22.8]: https://github.com/automattic/jetpack-blaze/compare/v0.22.7...v0.22.8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ public function get_dsp_generic( $path, $req, $args = array() ) {
* @return array|WP_Error
*/
public function edit_wpcom_checkout( $req ) {
return $this->edit_dsp_generic( 'v1/wpcom/checkout', $req, array( 'timeout' => 20 ) );
return $this->edit_dsp_generic( 'v1/wpcom/checkout', $req, array( 'timeout' => 60 ) );
}

/**
Expand All @@ -676,7 +676,7 @@ public function edit_wpcom_checkout( $req ) {
*/
public function edit_dsp_campaigns( $req ) {
$version = $req->get_param( 'api_version' ) ?? 'v1';
return $this->edit_dsp_generic( "{$version}/campaigns", $req, array( 'timeout' => 20 ) );
return $this->edit_dsp_generic( "{$version}/campaigns", $req, array( 'timeout' => 60 ) );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion vendor/automattic/jetpack-blaze/src/class-dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Dashboard {
*
* @var string
*/
const PACKAGE_VERSION = '0.22.10';
const PACKAGE_VERSION = '0.22.11-alpha';

/**
* List of dependencies needed to render the dashboard in wp-admin.
Expand Down
2 changes: 1 addition & 1 deletion vendor/automattic/jetpack-masterbar/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"require": {
"php": ">=7.0",
"automattic/jetpack-assets": "^2.3.8",
"automattic/jetpack-blaze": "^0.22.10",
"automattic/jetpack-blaze": "^0.22.11-alpha",
"automattic/jetpack-compat": "^3.0.2",
"automattic/jetpack-device-detection": "^2.1.5",
"automattic/jetpack-connection": "^4.0.4",
Expand Down
Loading

0 comments on commit 3113d21

Please sign in to comment.