-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
5
-
False
-
None
-
False
-
-
-
Low
Django raises a CacheKeyWarning if a key will not work with memcached since that is the most common cache backend used with Django. We use redis and PostgreSQL and can safely silence this warning.
To do that, we need to write our own validate_key method.
[2024-03-21 13:00:50,716: WARNING/ForkPoolWorker-9] /opt/koku/.venv/lib/python3.9/site-packages/django/core/cache/backends/base.py:117: CacheKeyWarning: Cache key contains characters that will cause errors if used with memcached: ':1:masu.processor.tasks.update_summary_tables:acct6193296:GCP:65a97bdf-5d34-44c0-bfed-320a4e87f511:2024-03-01 00:00:00+00' warnings.warn(warning, CacheKeyWarning)