Skip to content

Commit

Permalink
wait redis (#2178)
Browse files Browse the repository at this point in the history
  • Loading branch information
achan-godaddy authored and mcstepp committed Oct 8, 2024
1 parent 69ede86 commit f45291a
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 f45291a

Please sign in to comment.