element-hq / element-meta

Shared/meta documentation and project artefacts for Element clients
66 stars 11 forks source link

Posthog | Increase decryption failure grace period #2303

Closed BillCarsonFr closed 3 months ago

BillCarsonFr commented 4 months ago

The current grace period for visible UTDs is set to 4s.

We want to increase it to 30s

### Tasks
- [ ] EIR set DecryptionFailureTracker GRACE_PERIOD to 30s
- [ ] EAR set `DecryptionFailureTracker` GRACE_PERIOD_MILLIS to 30s
- [ ] https://github.com/element-hq/element-web/issues/27093
- [ ] EIX set decryption failure tracker grace period to 30s
BillCarsonFr commented 4 months ago

See https://github.com/element-hq/element-meta/issues/2300

BillCarsonFr commented 3 months ago

We are going to instead introduce a timeToDecrypt property to the event, that will allow to do the filtering on posthog side (if timeToDecrypt > 30 we consider permanent failure)

See https://github.com/element-hq/element-meta/issues/2332

Might close this issue and switch to that solution instead.

BillCarsonFr commented 3 months ago

Closed in favor of https://github.com/element-hq/element-meta/issues/2332