mirror of
https://github.com/Corsinvest/cv4pve-api-php.git
synced 2026-04-25 04:25:48 +03:00
[PR #30] [CLOSED] Add Timeout for curl into the PveClientBase | using CURLOPT_TIMEOUT_M… #34
Labels
No labels
enhancement
needs investigation
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-api-php#34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Corsinvest/cv4pve-api-php/pull/30
Author: @noxomix
Created: 2/27/2024
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
48adbc6Add Timeout for curl into the PveClientBase | using CURLOPT_TIMEOUT_MS-parameter📊 Changes
1 file changed (+36 additions, -0 deletions)
View changed files
📝
src/PveClientBase.php(+36 -0)📄 Description
Ive added some timeout functionality. Using the
CURLOPT_TIMEOUT_MScurl flag.By default it will be set to 32000 which is 32 seconds.
I didnt add any tests yet, but ive tested it in my laravel project.
Best Regards
Theo
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.