Skip to content

Commit

Permalink
wait redis (unkeyed#2178)
Browse files Browse the repository at this point in the history
  • Loading branch information
achan-godaddy authored Oct 4, 2024
1 parent 2113925 commit e7ac47f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cache/src/stores/upstash-redis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class UpstashRedisStore<TNamespace extends string, TValue = any>
key: string,
entry: Entry<TValue>,
): Promise<Result<void, CacheError>> {
this.redis.set<Entry<TValue>>(this.buildCacheKey(namespace, key), entry, {
await this.redis.set<Entry<TValue>>(this.buildCacheKey(namespace, key), entry, {
pxat: entry.staleUntil,
});
return Ok();
Expand Down

0 comments on commit e7ac47f

Please sign in to comment.