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 clear entire requests_cache cache when polling the website #1060

Merged
merged 3 commits into from
May 10, 2021

Conversation

ewels
Copy link
Member

@ewels ewels commented May 6, 2021

This is better as we don't lose the cache from other calls, but we do still get fresh data from the website poll.

As a side-effect, we lose the INFO log messages which closes #1029

PR checklist

  • This comment contains a description of changes (with reason)
  • CHANGELOG.md is updated
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated

Sorry, something went wrong.

ewels added 3 commits May 6, 2021 22:21
This is better as we don't lose the cache from other calls, but we do still get fresh data from the website poll.

As a side-effect, we lose the INFO log messages which closes nf-core#1029
@ewels ewels linked an issue May 6, 2021 that may be closed by this pull request
@codecov

This comment has been minimized.

@ewels
Copy link
Member Author

ewels commented May 6, 2021

I recommend viewing the diff with whitespace turned off..

@ewels ewels requested review from KevinMenden and mashehu May 9, 2021 07:00
Copy link
Contributor

@KevinMenden KevinMenden left a comment

Choose a reason for hiding this comment

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

This looks pretty solid to me 👍

However I'm also not very familiar with that part of the code, so an additional review by @mashehu might be a good idea 👍

@ewels
Copy link
Member Author

ewels commented May 10, 2021

Thanks both! 👍🏻

@ewels ewels merged commit 0738c28 into nf-core:dev May 10, 2021
@ewels ewels deleted the launch-requests_cache-log branch May 10, 2021 11:39
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.

cli wait logs "clearing all items from cache" every 2 seconds
3 participants