Increase JWT issued-at window to 60s (#4835)

This commit is contained in:
Andrew Ashikhmin 2022-07-27 09:16:50 +02:00 committed by GitHub
parent 039b661803
commit f927ac8037
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ import (
const (
maxRequestContentLength = 1024 * 1024 * 5
contentType = "application/json"
jwtTokenExpiry = 5 * time.Second
jwtTokenExpiry = 60 * time.Second
)
// https://www.jsonrpc.org/historical/json-rpc-over-http.html#id13