mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix: adjust key for metadata lock
This commit is contained in:
@@ -34,7 +34,7 @@ export class MetadataService {
|
||||
return withRetry(
|
||||
async () => {
|
||||
const { result } = await this.lock.withLock(
|
||||
`metadata:${id.mediaType}:${id.type}:${id.value}`,
|
||||
`metadata:${id.mediaType}:${id.type}:${id.value}${this.config.tmdbAccessToken || this.config.tmdbApiKey ? ':tmdb' : ''}${this.config.tvdbApiKey ? ':tvdb' : ''}`,
|
||||
async () => {
|
||||
const start = Date.now();
|
||||
const titles: string[] = [];
|
||||
|
||||
Reference in New Issue
Block a user