-
Notifications
You must be signed in to change notification settings - Fork 698
Open
Description
Describe the bug
The variable name and documentation imply that this is use as seconds but the comparisons in the code are against milliseconds values.
Use cases:
parseInt(expiresAt, 10) - this.decreaseExpirationBySec < |
expiresAtMSec + clockSkewInMSec - this.decreaseExpirationBySec <= now |
We either fix the code or documentation. Probably less breaking change to fix the two usages.
eddyuk, ewolfman, vehovsky, bkrajendra, thibleroy and 2 more
Metadata
Metadata
Assignees
Labels
No labels