Skip to content

Commit

Permalink
uuids on worker tasks (#12)
Browse files Browse the repository at this point in the history
* uuids on worker tasks

* correct format
  • Loading branch information
nikkolasg authored Dec 3, 2024
1 parent c095b03 commit 7872ead
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions proto/lagrange.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ package lagrange;
import "google/protobuf/timestamp.proto";

message WorkerToGwResponse {
UUID task_id = 1;
oneof response {
string todo = 1;
string todo = 2;
}
}

Expand All @@ -33,9 +34,10 @@ service WorkersService {
}

message WorkerDone {
UUID task_id = 1;
oneof reply {
string reply_string = 1;
string worker_error = 2;
string reply_string = 2;
string worker_error = 3;
}
}

Expand Down

0 comments on commit 7872ead

Please sign in to comment.