File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,13 @@ message StreamingMessage {
8686
8787 // Host gets the list of function load responses
8888 FunctionLoadResponseCollection function_load_response_collection = 32 ;
89+
90+ // Host sends required metadata to worker to warmup the worker
91+ FunctionWarmupRequest function_warmup_request = 33 ;
92+
93+ // Worker responds after warming up with the warmup result
94+ FunctionWarmupResponse function_warmup_response = 34 ;
95+
8996 }
9097}
9198
@@ -416,6 +423,15 @@ message InvocationResponse {
416423 StatusResult result = 3 ;
417424}
418425
426+ message FunctionWarmupRequest {
427+ // Full path of worker.config.json location
428+ string worker_directory = 1 ;
429+ }
430+
431+ message FunctionWarmupResponse {
432+ StatusResult result = 1 ;
433+ }
434+
419435// Used to encapsulate data which could be a variety of types
420436message TypedData {
421437 oneof data {
You can’t perform that action at this time.
0 commit comments