Details
Details
- Reviewers
atul • abosh - Commits
- rCOMM1bc6faac28eb: [keyserver] Extract getBackupInfos
I copy pasted the new backups.js file into prod and added a console.log of the result of getBackupInfos. I made sure it was in chrono order and had everything right
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
keyserver/src/cron/backups.js | ||
---|---|---|
223 ↗ | (On Diff #13497) | Thoughts on naming this something like getSortedBackupInfos or something? Just something to indicate at the callsite that we're getting the data in some order so the [0] seems less arbitrary? |
223 ↗ | (On Diff #13497) | Can we make this return type $ReadOnlyArray<BackupInfo? |
230 ↗ | (On Diff #13497) | We could maybe sequence the startsWith before the endsWith... but really doesn't matter. |