Page MenuHomePhabricator

[keyserver] move async iife to standalone function
ClosedPublic

Authored by varun on Thu, Oct 10, 11:31 AM.
Tags
None
Referenced Files
F2983710: D13694.id45080.diff
Wed, Oct 16, 10:22 AM
F2983708: D13694.id45075.diff
Wed, Oct 16, 10:20 AM
F2983302: D13694.diff
Wed, Oct 16, 8:31 AM
F2981638: D13694.id45075.diff
Tue, Oct 15, 11:40 PM
Unknown Object (File)
Tue, Oct 15, 9:58 AM
Unknown Object (File)
Mon, Oct 14, 7:34 PM
Unknown Object (File)
Sat, Oct 12, 5:07 AM
Unknown Object (File)
Fri, Oct 11, 11:31 AM
Subscribers

Details

Summary

keyserver.js is already massive, and the async iife in the middle makes it harder to follow

Depends on D13667

Test Plan

cleared the access token from the metadata table and ran keyserver as a secondary node. confirmed that node polled every 5 seconds for identity info.

killed and ran keyserver as primary. access token was added to metadata table.

killed and ran keyserver as secondary again. node was able to fetch access token and did not get stuck in loop

Diff Detail

Repository
rCOMM Comm
Branch
keyserver-platform-details (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Thanks for doing this cleanup! I'm assuming it's a clean refactor, so I didn't review very closely

This revision is now accepted and ready to land.Thu, Oct 10, 11:54 AM

use full line length for comments

This revision was landed with ongoing or failed builds.Thu, Oct 10, 12:07 PM
This revision was automatically updated to reflect the committed changes.