Skip to content

Commit 0d3f104

Browse files
Adding new field to send a list of load requests in case of multiple functions (#63)
* Adding field FunctionLoadRequests * Improved naming of new field to FunctionLoadRequestCollection
1 parent 15e77d0 commit 0d3f104

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/proto/FunctionRpc.proto

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ message StreamingMessage {
7979
// Worker indexing message types
8080
FunctionsMetadataRequest functions_metadata_request = 29;
8181
FunctionMetadataResponse function_metadata_response = 30;
82+
83+
// Host sends required metadata to worker to load functions
84+
FunctionLoadRequestCollection function_load_request_collection = 31;
8285
}
8386
}
8487

@@ -220,7 +223,12 @@ message CloseSharedMemoryResourcesResponse {
220223
map<string, bool> close_map_results = 1;
221224
}
222225

223-
// Host tells the worker to load a Function
226+
// Host tells the worker to load a list of Functions
227+
message FunctionLoadRequestCollection {
228+
repeated FunctionLoadRequest function_load_requests = 1;
229+
}
230+
231+
// Load request of a single Function
224232
message FunctionLoadRequest {
225233
// unique function identifier (avoid name collisions, facilitate reload case)
226234
string function_id = 1;

0 commit comments

Comments
 (0)