Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(http client): expose default request timeout constant to be used instead of magic number 30 #48639

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tcitworld
Copy link
Member

Will be used to set default where we are able to override the default timeout.

See #48418

Checklist

… instead of magic number 30

Will be used to set default where we are able to override the default timeout.

See #48418

Signed-off-by: Thomas Citharel <[email protected]>
@tcitworld tcitworld added 3. to review Waiting for reviews php Pull requests that update Php code labels Oct 10, 2024
@tcitworld tcitworld added this to the Nextcloud 31 milestone Oct 10, 2024
@tcitworld tcitworld requested review from kesselb, pabzm, a team, Fenn-CS, skjnldsv and yemkareems and removed request for a team October 10, 2024 05:56
Copy link
Contributor

@kesselb kesselb left a comment

Choose a reason for hiding this comment

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

Thank you

@kesselb
Copy link
Contributor

kesselb commented Oct 10, 2024

The unconventional commits check is failing. Maybe a space in the scope is not valid?

Could also use the new constant here:

$this->timeout = Server::get(IConfig::class)->getSystemValueInt('davstorage.request_timeout', 30);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants