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

Change requeue_phase to have params passed in for time with default value of 10 #23175

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

liu-samuel
Copy link
Contributor

@liu-samuel liu-samuel commented Sep 5, 2024

@@ -70,14 +70,14 @@ def prematurely_finished?
false
end

def requeue_phase
def requeue_phase(delay = 10)
Copy link
Member

Choose a reason for hiding this comment

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

Prefer

Suggested change
def requeue_phase(delay = 10)
def requeue_phase(delay = 10.seconds)

Then below you just need delay.from_now.utc

@agrare agrare merged commit 7babb13 into ManageIQ:master Sep 6, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants