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

Fix interval for WMStats DataCacheUpdate CherryPy thread #11924

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

amaltaro
Copy link
Contributor

@amaltaro amaltaro commented Mar 7, 2024

Fixes #11571

Status

ready

Description

It does not really fix the ticket #11571, but it's just another misbehavior and/or easy improvement identified while having a deep investigation of the WMStats service.

This PR fixes a bug in the DataCacheUpdate cherrypy thread, which is hard-coded to update the cache every 300 seconds, without taking into consideration the configurable interval via:

dataCacheTasks.dataCacheUpdateDuration = 60 * 5 # every 5 min

Is it backward compatible (if not, which system it affects?)

YES

Related PRs

None

External dependencies / deployment changes

None

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 1 new failures
    • 1 tests no longer failing
    • 1 changes in unstable tests
  • Python3 Pylint check: succeeded
    • 2 warnings
    • 4 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 1 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/14951/artifact/artifacts/PullRequestReport.html

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 1 new failures
    • 1 tests no longer failing
  • Python3 Pylint check: succeeded
    • 2 warnings
    • 4 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/14952/artifact/artifacts/PullRequestReport.html

Copy link
Contributor

@todor-ivanov todor-ivanov left a comment

Choose a reason for hiding this comment

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

@amaltaro This change is ok, but I left a question inline. You may want to take a look.

@todor-ivanov todor-ivanov self-requested a review March 7, 2024 13:17
@amaltaro
Copy link
Contributor Author

amaltaro commented Mar 7, 2024

Thanks Todor!

@amaltaro amaltaro merged commit 6fd1722 into dmwm:master Mar 7, 2024
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Determine WMStats current limits
3 participants