docs: update RemoteJWKSetOptions durations with the unit

closes #347
This commit is contained in:
Filip Skokan 2022-01-22 11:01:12 +01:00
parent 9492822667
commit 7cb8af45eb
2 changed files with 4 additions and 4 deletions

View file

@ -30,7 +30,7 @@ ___
`Optional` **cooldownDuration**: `number`
Duration for which no more HTTP requests will be triggered
Duration (in milliseconds) for which no more HTTP requests will be triggered
after a previous successful fetch. Default is 30000.
___
@ -39,5 +39,5 @@ ___
`Optional` **timeoutDuration**: `number`
Timeout for the HTTP request. When reached the request will be
Timeout (in milliseconds) for the HTTP request. When reached the request will be
aborted and the verification will fail. Default is 5000.

View file

@ -39,13 +39,13 @@ interface Cache {
*/
export interface RemoteJWKSetOptions {
/**
* Timeout for the HTTP request. When reached the request will be
* Timeout (in milliseconds) for the HTTP request. When reached the request will be
* aborted and the verification will fail. Default is 5000.
*/
timeoutDuration?: number
/**
* Duration for which no more HTTP requests will be triggered
* Duration (in milliseconds) for which no more HTTP requests will be triggered
* after a previous successful fetch. Default is 30000.
*/
cooldownDuration?: number