Page MenuHomePhabricator

[keyserver] Introduce `getOLMUtility(...)` and initialize OLM on `keyserver` start
ClosedPublic

Authored by atul on Feb 27 2023, 1:57 PM.
Tags
None
Referenced Files
F5058721: D6901.id23189.diff
Wed, Mar 26, 7:08 AM
Unknown Object (File)
Sun, Mar 2, 8:58 PM
Unknown Object (File)
Mon, Feb 24, 11:01 PM
Unknown Object (File)
Jan 30 2025, 4:33 PM
Unknown Object (File)
Jan 30 2025, 4:33 PM
Unknown Object (File)
Jan 30 2025, 4:33 PM
Unknown Object (File)
Jan 30 2025, 4:33 PM
Unknown Object (File)
Jan 30 2025, 9:07 AM
Subscribers
None

Details

Summary

Initialize OLM by calling await olm.init() on keyserver start and introduce getOLMUtility to potentially access cached OLMUtility... or instantiate a new one.

Test Plan
  • Logged in a bunch of times and ensured things worked as expected.
  • Set breakpoint on cache hit:

8fe3ee.png (632×1 px, 147 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Feb 27 2023, 2:35 PM
This revision was landed with ongoing or failed builds.Feb 27 2023, 3:20 PM
This revision was automatically updated to reflect the committed changes.