Page MenuHomePhabricator

[keyserver] move `isPrimaryNode` to keyserver utils
ClosedPublic

Authored by will on Jul 22 2024, 12:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 8:02 AM
Unknown Object (File)
Thu, Nov 14, 10:00 PM
Unknown Object (File)
Thu, Nov 7, 4:03 PM
Unknown Object (File)
Thu, Nov 7, 8:55 AM
Unknown Object (File)
Thu, Nov 7, 1:54 AM
Unknown Object (File)
Fri, Nov 1, 10:57 AM
Unknown Object (File)
Fri, Nov 1, 10:57 AM
Unknown Object (File)
Fri, Nov 1, 10:57 AM
Subscribers

Details

Summary

Moves isPrimaryNode into utils in anticipation of using it in determining whether to run cron jobs

Test Plan

exported COMM_NODE_ROLE and console logged in primary only code as primary and secondary. Confirmed expected behavior

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage