Skip to content

Commit

Permalink
Add FunctionCreateRequest.defer_updates flag (#2061)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaskom committed Jul 30, 2024
1 parent dfc08d9 commit 4dbc717
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modal_proto/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,10 @@ message FunctionCreateRequest {
string app_id = 2 [ (modal.options.audit_target_attr) = true ];
Schedule schedule = 6;
string existing_function_id = 7;
// This flag tells the server to avoid doing updates in FunctionCreate that should now
// be done in AppPublish. Provides a smoother migration onto atomic deployments with 0.64,
// and can be deprecated once we no longer support ealier versions.
bool defer_updates = 8;
}

message FunctionCreateResponse {
Expand Down

0 comments on commit 4dbc717

Please sign in to comment.