Skip to content

Commit

Permalink
fix(promise-cache): seconds to millis
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Pablo Vargas Martinez authored and Juan Pablo Vargas Martinez committed Dec 11, 2024
1 parent 9138c3b commit 29fac12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/promise-cache/src/persistor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export type PersistorConstructorType = {
}

function toMillis(seconds: number) {
return seconds / 1000
return seconds * 1000
}

export class Persistor {
Expand Down

0 comments on commit 29fac12

Please sign in to comment.