refactor(repology): Rename cache namespace (#30881)

This commit is contained in:
Sergei Zharinov 2024-08-19 12:27:20 -03:00 committed by GitHub
parent ff09ed5611
commit c2f2f439b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -109,7 +109,7 @@ export class RepologyDatasource extends Datasource {
@cache({
ttlMinutes: 60,
namespace: `datasource-${RepologyDatasource.id}-list`,
namespace: `datasource-${RepologyDatasource.id}`,
key: (registryUrl: string, repoName: string, pkgName: string) =>
joinUrlParts(registryUrl, repoName, pkgName),
})

View file

@ -96,7 +96,7 @@ export type PackageCacheNamespace =
| 'datasource-pod'
| 'datasource-python-version'
| 'datasource-releases'
| 'datasource-repology-list'
| 'datasource-repology'
| 'datasource-ruby-version'
| 'datasource-rubygems'
| 'datasource-terraform-module'