Skip to content

[api] [timeout] …#867

Merged
fajardoleo merged 2 commits into
developfrom
feature/daniele/api-timeout-constant
Jul 1, 2026
Merged

[api] [timeout] …#867
fajardoleo merged 2 commits into
developfrom
feature/daniele/api-timeout-constant

Conversation

@DanieleAlessandra

Copy link
Copy Markdown
Collaborator

Introduced a constant for API timeout and updated usage in the SDK

Comment thread config.php Outdated
}

if ( ! defined( 'WP_FS_API__TIMEOUT' ) ) {
define( 'WP_FS_API__TIMEOUT', 30 );

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DanieleAlessandra For consistency, I suggest WP_FS__API_TIMEOUT (like the other constants).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@fajardoleo fajardoleo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great.

@fajardoleo fajardoleo merged commit 777e52b into develop Jul 1, 2026
5 checks passed
@fajardoleo fajardoleo deleted the feature/daniele/api-timeout-constant branch July 1, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants