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

Use Settings.active_task_timeout for db backup task instead of hardcoded value #18124

Merged

Conversation

yrudman
Copy link
Contributor

@yrudman yrudman commented Oct 23, 2018

Issue: timeout for task to backup db is hardcoded to 1 hour, which is not enough for big databases

Fix: use existing Settings.active_task_timeout

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1638432

@miq-bot add-label bug, hammer/yes, core

@yrudman yrudman force-pushed the customizable-timeout-when-db-backup branch from a094a3c to 012f361 Compare October 23, 2018 21:44
@yrudman yrudman force-pushed the customizable-timeout-when-db-backup branch from 012f361 to 939f7fd Compare October 24, 2018 11:10
@miq-bot
Copy link
Member

miq-bot commented Oct 24, 2018

Checked commits yrudman/manageiq@cae0b1c~...939f7fd with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. ⭐

@yrudman
Copy link
Contributor Author

yrudman commented Oct 24, 2018

@jrafanie could you review

@gtanzillo gtanzillo added this to the Sprint 98 Ending Nov 5, 2018 milestone Oct 31, 2018
@gtanzillo gtanzillo merged commit 079996b into ManageIQ:master Oct 31, 2018
@jrafanie
Copy link
Member

Wow, thanks, I lost track of this one... sorry. Looks good.

@yrudman yrudman deleted the customizable-timeout-when-db-backup branch October 31, 2018 19:25
simaishi pushed a commit that referenced this pull request Nov 1, 2018
…ackup

Use Settings.active_task_timeout for db backup task  instead of hardcoded value

(cherry picked from commit 079996b)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1638432
@simaishi
Copy link
Contributor

simaishi commented Nov 1, 2018

Hammer backport details:

$ git log -1
commit d8168f7b8583469b95b114a153f0a849282ea308
Author: Gregg Tanzillo <gtanzill@redhat.com>
Date:   Wed Oct 31 14:26:19 2018 -0400

    Merge pull request #18124 from yrudman/customizable-timeout-when-db-backup
    
    Use Settings.active_task_timeout for db backup task  instead of hardcoded value
    
    (cherry picked from commit 079996bf962c8d89e83c7e63a699e7da8f77f7cc)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1638432

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.

5 participants