From 0bd0af48459479531fcce2d795587fce1fe6155d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 30 Jan 2025 01:15:41 -0600 Subject: [PATCH] need to track times to throttle access --- repo.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repo.proto b/repo.proto index a5a35c1..3234b2c 100644 --- a/repo.proto +++ b/repo.proto @@ -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?