Page MenuHomePhabricator

[lib] Retry auth
ClosedPublic

Authored by tomek on Jan 26 2024, 9:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 3 2024, 4:20 PM
Unknown Object (File)
Mar 13 2024, 11:03 AM
Unknown Object (File)
Mar 10 2024, 2:53 PM
Unknown Object (File)
Mar 7 2024, 10:32 AM
Unknown Object (File)
Mar 7 2024, 9:43 AM
Unknown Object (File)
Mar 7 2024, 9:10 AM
Unknown Object (File)
Mar 7 2024, 6:51 AM
Unknown Object (File)
Feb 20 2024, 9:01 PM
Subscribers

Details

Summary

Retry the auth, if it wasn't successful, every 1 minute. We can change the delay if we think something else would work better.

Depends on D10843

Test Plan

Add a console log checking if unsuccessful auth is retried.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tomek requested review of this revision.Jan 26 2024, 9:44 AM
ashoat added inline comments.
lib/components/keyserver-connection-handler.js
154–156 ↗(On Diff #36187)

I think this is more readable

This revision is now accepted and ready to land.Jan 29 2024, 7:54 PM
tomek marked an inline comment as done.

Use sleep

This revision was automatically updated to reflect the committed changes.