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+ WorkerWarmupRequest worker_warmup_request = 33 ;
92+
93+ // Worker responds after warming up with the warmup result
94+ WorkerWarmupResponse worker_warmup_response = 34 ;
95+
8996 }
9097}
9198
@@ -423,6 +430,15 @@ message InvocationResponse {
423430 StatusResult result = 3 ;
424431}
425432
433+ message WorkerWarmupRequest {
434+ // Full path of worker.config.json location
435+ string worker_directory = 1 ;
436+ }
437+
438+ message WorkerWarmupResponse {
439+ StatusResult result = 1 ;
440+ }
441+
426442// Used to encapsulate data which could be a variety of types
427443message TypedData {
428444 oneof data {
You can’t perform that action at this time.
0 commit comments