Add a bunch of logging to the data model caching mechanism
Should help us debug any potential issues
This commit is contained in:
parent
60bc655695
commit
9e16596854
2 changed files with 15 additions and 1 deletions
|
@ -43,7 +43,7 @@ def _get_repository_blob(namespace_name, repo_name, digest):
|
|||
return model.get_blob_by_digest(namespace_name, repo_name, digest)
|
||||
|
||||
blob_cache_key = cache_key.for_repository_blob(namespace_name, repo_name, digest)
|
||||
return model_cache.retrieve(blob_cache_key, load_blob)
|
||||
return model_cache.retrieve(blob_cache_key, load_blob)
|
||||
|
||||
|
||||
@v2_bp.route(BLOB_DIGEST_ROUTE, methods=['HEAD'])
|
||||
|
|
Reference in a new issue