Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

uuids on worker tasks #12

Merged
merged 2 commits into from
Dec 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading