Skip to content
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
16 changes: 16 additions & 0 deletions src/proto/FunctionRpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@ message StreamingMessage {

// Host gets the list of function load responses
FunctionLoadResponseCollection function_load_response_collection = 32;

// Host sends required metadata to worker to warmup the worker
WorkerWarmupRequest worker_warmup_request = 33;

// Worker responds after warming up with the warmup result
WorkerWarmupResponse worker_warmup_response = 34;

}
}

Expand Down Expand Up @@ -423,6 +430,15 @@ message InvocationResponse {
StatusResult result = 3;
}

message WorkerWarmupRequest {
// Full path of worker.config.json location
string worker_directory = 1;
}

message WorkerWarmupResponse {
StatusResult result = 1;
}

// Used to encapsulate data which could be a variety of types
message TypedData {
oneof data {
Expand Down