HomePhabricator
Diffusion Comm 1277963cf3de

[keyserver] Ignore promise rejections from state check mechanism

Description

[keyserver] Ignore promise rejections from state check mechanism

Summary:
The unused-promise Lint identified an issue here. Since we don't handle promise rejections from this code, there is a risk of crashing the keyserver.

To avoid that, in this diff I wrap the call with ignorePromiseRejections.

Depends on D10181

Test Plan: Flow

Reviewers: michal

Reviewed By: michal

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D10182

Details

Provenance
ashoatAuthored on Dec 4 2023, 12:43 PM
Reviewer
michal
Differential Revision
D10182: [keyserver] Ignore promise rejections from state check mechanism
Parents
rCOMM2561eee5cb96: [keyserver] await dbQuery in updateLatestMessages
Branches
Unknown
Tags
Unknown