Add new message to support worker warmup
This commit is contained in:
Родитель
90ed69f61f
Коммит
44ec2950d8
|
@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче