uyuni icon indicating copy to clipboard operation
uyuni copied to clipboard

Change max age of meta-data objects in Squid cache to 5 minutes

Open jmozd opened this issue 1 year ago • 1 comments

What does this PR change?

Reduce the Uyuni Proxy cache time for channel meta-data and short-lived tftp items from 24 hours to 5 minutes.

  • [x ] DONE

Documentation

  • No documentation needed: only internal and user invisible changes
  • [x ] DONE

Test coverage

  • No tests: no automatically testable feature

  • [x ] DONE

Links

Issue(s): # 8189

  • [x ] DONE

Changelogs

Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository

If you don't need a changelog check, please mark this checkbox:

  • [ ] No changelog needed

If you uncheck the checkbox after the PR is created, you will need to re-run changelog_test (see below)

Re-run a test

If you need to re-run a test, please mark the related checkbox, it will be unchecked automatically once it has re-run:

  • [ ] Re-run test "changelog_test"
  • [ ] Re-run test "backend_unittests_pgsql"
  • [ ] Re-run test "java_pgsql_tests"
  • [ ] Re-run test "schema_migration_test_pgsql"
  • [ ] Re-run test "susemanager_unittests"
  • [ ] Re-run test "javascript_lint"
  • [ ] Re-run test "spacecmd_unittests"

Before you merge

Check How to branch and merge properly!

jmozd avatar Jan 22 '24 14:01 jmozd

I tested it locally and the cache was invalidated. I would need to have more insides on this one, since it can increase the overload in large scale deployments.

rjmateus avatar Jan 24 '24 12:01 rjmateus

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] avatar Mar 25 '24 01:03 github-actions[bot]

This PR was closed because it has been stalled for 10 days with no activity.

github-actions[bot] avatar Apr 04 '24 01:04 github-actions[bot]