Skip to content

Commit

Permalink
docs; better docs
Browse files Browse the repository at this point in the history
  • Loading branch information
doctrino committed Jan 1, 2025
1 parent 448b87e commit e7c6daa
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,9 @@ def dump_resource(self, resource: Function, local: dict[str, Any]) -> dict[str,
and isinstance(local.get(key), float)
and local[key] < dumped[key]
):
# On Azure and AWS, the server sets the CPU and Memory to the default values, if the user
# pass in a lower value. This should not trigger a redeploy.
# On Azure and AWS, the server sets the CPU and Memory to the default values if the user
# pass in lower values. We set this to match the local to avoid triggering a redeploy.
# Note the user will get a warning about this when the function is created.
dumped[key] = local[key]
for key in ["indexUrl", "extraIndexUrls"]:
# Only in write (request) format of the function
Expand Down

0 comments on commit e7c6daa

Please sign in to comment.