From 7872eadb79d7466f82f976498611928091e29260 Mon Sep 17 00:00:00 2001 From: Nicolas Gailly Date: Tue, 3 Dec 2024 16:00:24 +0100 Subject: [PATCH] uuids on worker tasks (#12) * uuids on worker tasks * correct format --- proto/lagrange.proto | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/proto/lagrange.proto b/proto/lagrange.proto index 24670de..77fd2d4 100644 --- a/proto/lagrange.proto +++ b/proto/lagrange.proto @@ -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; } } @@ -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; } }