Skip to content

Commit 5cdc0a1

Browse files
committed
fixes after review
1 parent e329c1f commit 5cdc0a1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/utils/cache.info.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,13 @@ export class CacheInfo {
189189
static Nfts(queryPagination: QueryPagination): CacheInfo {
190190
return {
191191
key: `nfts:${queryPagination.from}:${queryPagination.size}`,
192-
ttl: Constants.oneSecond(),
192+
ttl: Constants.oneSecond() * 6,
193193
};
194194
}
195195

196196
static NftsCount: CacheInfo = {
197197
key: 'nfts:count',
198-
ttl: Constants.oneSecond(),
198+
ttl: Constants.oneSecond() * 6,
199199
};
200200

201201
static AccountAssets: CacheInfo = {
@@ -289,19 +289,19 @@ export class CacheInfo {
289289
static Collections(pagination: QueryPagination): CacheInfo {
290290
return {
291291
key: `collections:${pagination.from}:${pagination.size}`,
292-
ttl: Constants.oneSecond(),
292+
ttl: Constants.oneSecond() * 6,
293293
};
294294
}
295295

296296
static CollectionsCount: CacheInfo = {
297297
key: 'collectionsCount',
298-
ttl: Constants.oneSecond(),
298+
ttl: Constants.oneSecond() * 6,
299299
};
300300

301301
static CollectionsForAddress(address: string, pagination: QueryPagination): CacheInfo {
302302
return {
303303
key: `collectionsForAddress:${address}:${pagination.from}:${pagination.size}`,
304-
ttl: Constants.oneSecond(),
304+
ttl: Constants.oneSecond() * 6,
305305
};
306306
}
307307

0 commit comments

Comments
 (0)