keyserver.js is already massive, and the async iife in the middle makes it harder to follow
Depends on D13667
Paths
| Differential D13694 Authored by varun on Oct 10 2024, 11:31 AM.
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
Event TimelineHerald added a subscriber: tomek. · View Herald TranscriptOct 10 2024, 11:31 AM2024-10-10 11:31:40 (UTC-7) Harbormaster completed remote builds in B32188: Diff 45071.Oct 10 2024, 11:49 AM2024-10-10 11:49:04 (UTC-7) Comment Actions 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.Oct 10 2024, 11:54 AM2024-10-10 11:54:09 (UTC-7) This revision was landed with ongoing or failed builds.Oct 10 2024, 12:07 PM2024-10-10 12:07:48 (UTC-7) Closed by commit rCOMM8a98670d7370: [keyserver] move async iife to standalone function (authored by varun). · Explain Why This revision was automatically updated to reflect the committed changes. Harbormaster completed remote builds in B32192: Diff 45075.Oct 10 2024, 12:22 PM2024-10-10 12:22:39 (UTC-7)
Revision Contents
Diff 45071 keyserver/src/keyserver.js
keyserver/src/utils/keyserver-services-setup.js
|