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

Don't queue a refresh on RefreshWorker start #75

Conversation

agrare
Copy link
Member

@agrare agrare commented Jul 14, 2017

The refresh_worker is restarted every 2 hours, by queueing a full refresh everytime the refresh_worker starts this was causing a significant number more full refreshes than before.

This was originally done in #41 so that when a user added additional EMSs an initial refresh would be queued, but that combined with us restarting the refresh worker every 2 hours caused many more full refreshes than intended.

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

The refresh_worker is restarted every 2 hours, by queueing a full
refresh everytime the refresh_worker starts this was causing a
significant number more full refreshes than before.

https://bugzilla.redhat.com/show_bug.cgi?id=1469198
@miq-bot
Copy link
Member

miq-bot commented Jul 14, 2017

Checked commit agrare@3deafbe with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. 🍪

@blomquisg blomquisg merged commit 26ae511 into ManageIQ:master Jul 27, 2017
@blomquisg blomquisg added this to the Sprint 66 Ending Aug 7, 2017 milestone Jul 27, 2017
@agrare agrare deleted the bz_1469198_dont_run_queue_full_refresh_every_refresh_worker_start branch July 27, 2017 16:44
@simaishi
Copy link
Contributor

Euwe backport (to manageiq repo) details:

$ git log -1
commit 7bfdee3b1fe7cb5d61f00426fb540d1bc155f65d
Author: Greg Blomquist <blomquisg@gmail.com>
Date:   Thu Jul 27 12:44:22 2017 -0400

    Merge pull request #75 from agrare/bz_1469198_dont_run_queue_full_refresh_every_refresh_worker_start
    
    Don't queue a refresh on RefreshWorker start
    (cherry picked from commit 26ae511caff67b5fa6aad5bf896c30bc8c7e2c38)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1476284

simaishi pushed a commit that referenced this pull request Aug 9, 2017
…resh_every_refresh_worker_start

Don't queue a refresh on RefreshWorker start
(cherry picked from commit 26ae511)

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

simaishi commented Aug 9, 2017

Fine backport details:

$ git log -1
commit d7c43bac98429d1983f5ea033f02e4a7721c424b
Author: Greg Blomquist <blomquisg@gmail.com>
Date:   Thu Jul 27 12:44:22 2017 -0400

    Merge pull request #75 from agrare/bz_1469198_dont_run_queue_full_refresh_every_refresh_worker_start
    
    Don't queue a refresh on RefreshWorker start
    (cherry picked from commit 26ae511caff67b5fa6aad5bf896c30bc8c7e2c38)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1479886

agrare pushed a commit to agrare/manageiq-providers-vmware that referenced this pull request Apr 15, 2019
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.

4 participants