mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 06:28:27 +00:00
Increase grace period to allow time for key sharing
This commit is contained in:
@@ -48,7 +48,7 @@ export default class DecryptionFailureTracker {
|
|||||||
|
|
||||||
// Give events a chance to be decrypted by waiting `GRACE_PERIOD_MS` before moving
|
// Give events a chance to be decrypted by waiting `GRACE_PERIOD_MS` before moving
|
||||||
// the failure to `failuresToTrack`.
|
// the failure to `failuresToTrack`.
|
||||||
static GRACE_PERIOD_MS = 5000;
|
static GRACE_PERIOD_MS = 60000;
|
||||||
|
|
||||||
constructor(fn) {
|
constructor(fn) {
|
||||||
if (!fn || typeof fn !== 'function') {
|
if (!fn || typeof fn !== 'function') {
|
||||||
|
|||||||
Reference in New Issue
Block a user