daily cron job to send all the usernames from ashoat's keyserver to the identity service.
the logic here is very similar to the logic added to the account-creator.js
Depends on D8330
Paths
| Differential D8331 Authored by varun on Jun 27 2023, 7:45 AM.
Details Summary daily cron job to send all the usernames from ashoat's keyserver to the identity service. the logic here is very similar to the logic added to the account-creator.js Depends on D8330 Test Plan Modified cron job schedule to force a run and observed that usernames were added to the identity service's reserved usernames table locally
Diff Detail
Event TimelineHerald added a subscriber: tomek. · View Herald TranscriptJun 27 2023, 7:45 AM2023-06-27 07:45:14 (UTC-7) Harbormaster completed remote builds in B20544: Diff 28174.Jun 27 2023, 8:03 AM2023-06-27 08:03:00 (UTC-7) Comment Actions Instead of syncing it using chron, can't we call the API as a part of user registration / account deletion? Comment Actions
We do that as well in D8300. This change is just for initial syncing and then in case of a network failure or identity service issue ashoat added inline comments.
This revision is now accepted and ready to land.Jun 28 2023, 5:42 PM2023-06-28 17:42:16 (UTC-7)
Closed by commit rCOMM9a75d885847d: [keyserver] cron job to sync reserved usernames (authored by varun). · Explain WhyJul 3 2023, 9:10 PM2023-07-03 21:10:26 (UTC-7) This revision was automatically updated to reflect the committed changes. This revision is now accepted and ready to land.Jul 3 2023, 9:42 PM2023-07-03 21:42:55 (UTC-7) Closed by commit rCOMM1dc6de0da76b: [keyserver] cron job to sync reserved usernames (authored by varun). · Explain WhyJul 3 2023, 9:44 PM2023-07-03 21:44:50 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 28373 keyserver/src/cron/cron.js
keyserver/src/cron/update-identity-reserved-usernames.js
|