Skip to content

Commit

Permalink
Merge pull request #205 from overmindtech/warmup
Browse files Browse the repository at this point in the history
Add RevlinkWarmup to ManagementService
  • Loading branch information
DavidS-ovm authored May 13, 2024
2 parents 932a112 + b4495ca commit 6acedba
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions account.proto
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ service ManagementService {
// control the associated private key also in order to connect to NATS as
// the token is not enough on its own
rpc CreateToken(CreateTokenRequest) returns (CreateTokenResponse);

// Ensure that all reverse links are populated. This does internal debouncing
// so the actual logic does only run when required.
rpc RevlinkWarmup(RevlinkWarmupRequest) returns (stream RevlinkWarmupResponse);
}

enum SourceStatus {
Expand Down Expand Up @@ -288,3 +292,11 @@ message CreateTokenResponse {
// The JWT as a raw string
string token = 1;
}

message RevlinkWarmupRequest {}

message RevlinkWarmupResponse {
string status = 1;
int32 items = 2;
int32 edges = 3;
}

0 comments on commit 6acedba

Please sign in to comment.