need to track times to throttle access

This commit is contained in:
Jeff Carr 2025-01-30 01:15:41 -06:00
parent 7ba0c49ee3
commit 0bd0af4845
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ message Repos { // `autogenpb:marshal` `autogenpb:sort` `autogenpb:nomutex`
string uuid = 1; // `autogenpb:uuid:8daaeba1-fb1f-4762-ae6e-95a55d352673`
string version = 2; // `autogenpb:version:v3`
repeated Repo repos = 3; // `autogenpb:append` // generate AppendUnique() function for this
bool hasFullScan = 4; // a full repo scan has been saved to disk
google.protobuf.Timestamp fullScan = 5; // mtime of the last full scan saved to disk
}
// should it be done this way?