fix(cloud run): disable retries on tasks and rely on the schedules retries
Currently the maxRetryAttempts
only applies to the cloud scheduler. Cloud tasks always have the default retry of 3 set.
Make cloud tasks also consider the maxRetryAttempts
setting and default to zero retries.
Note: this setting is now cumulative. E.g. maxRetryAttempts: 2
means 4 retries in total - two by the cloud scheduler which two retries by the task itself.
Disable the default retries on the task.
Edited by Michael