Page MenuHomePhabricator

[lib] Retry auth
ClosedPublic

Authored by tomek on Jan 26 2024, 9:12 AM.
Tags
None
Referenced Files
F3372596: D10844.diff
Tue, Nov 26, 7:13 AM
Unknown Object (File)
Fri, Nov 22, 10:03 PM
Unknown Object (File)
Wed, Nov 13, 1:04 PM
Unknown Object (File)
Wed, Nov 6, 5:09 AM
Unknown Object (File)
Tue, Nov 5, 10:00 PM
Unknown Object (File)
Tue, Nov 5, 9:43 PM
Unknown Object (File)
Tue, Nov 5, 7:45 PM
Unknown Object (File)
Wed, Oct 30, 1:54 AM
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
Branch
handlers-2
Lint
No Lint Coverage
Unit
No Test Coverage

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.