Skip to content

Commit

Permalink
refactor(repology): Rename cache namespace (#30881)
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov authored Aug 19, 2024
1 parent ff09ed5 commit c2f2f43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/modules/datasource/repology/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
})
Expand Down
2 changes: 1 addition & 1 deletion lib/util/cache/package/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit c2f2f43

Please sign in to comment.