mirror of
https://github.com/Corsinvest/cv4pve-api-php.git
synced 2026-04-25 04:25:48 +03:00
[PR #21] [MERGED] waitForTaskToFinish fix and change #32
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#32
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/21
Author: @Oren-C
Created: 11/25/2022
Status: ✅ Merged
Merged: 11/25/2022
Merged by: @franklupo
Base:
master← Head:Oren-C-patch-1📝 Commits (1)
ba768a9waitForTaskToFinish fix and change📊 Changes
1 file changed (+9 additions, -8 deletions)
View changed files
📝
src/PveClientBase.php(+9 -8)📄 Description
Incorrect parentheses, time should be in milliseconds. (time() returns seconds https://www.php.net/manual/en/function.time.php)
Verify if task is running at start (not strictly necessary but will save a wait if function is called when task has finished).
Credit for milliseconds https://stackoverflow.com/questions/3656713/how-to-get-current-time-in-milliseconds-in-php
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.