Skip to content

Commit e441897

Browse files
committed
duration instead of timestamp
1 parent f613dfe commit e441897

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proto/lagrange.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ syntax = "proto3";
22

33
package lagrange;
44

5-
import "google/protobuf/timestamp.proto";
5+
import "google/protobuf/duration.proto";
66

77
message WorkerToGwResponse {
88
UUID task_id = 1;
@@ -46,7 +46,7 @@ message SubmitTaskRequest {
4646
bytes task_bytes = 1;
4747
// friendly name of a task for logging and tracing
4848
string user_task_id = 2;
49-
google.protobuf.Timestamp timeout = 3;
49+
google.protobuf.Duration timeout = 3;
5050
bytes price_requested = 4;
5151
string class = 5;
5252
}

0 commit comments

Comments
 (0)