File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ type NewTask struct {
5858 /* Hot function idle timeout in seconds before termination.
5959
6060 */
61- IdleTimeout * int32 `json:"inactivity_timeout ,omitempty"`
61+ IdleTimeout * int32 `json:"idle_timeout ,omitempty"`
6262}
6363
6464// Validate validates this new task
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ type Route struct {
4040 Format string `json:"format"`
4141 MaxConcurrency int `json:"max_concurrency"`
4242 Timeout int32 `json:"timeout"`
43- IdleTimeout int32 `json:"inactivity_timeout "`
43+ IdleTimeout int32 `json:"idle_timeout "`
4444 Config `json:"config"`
4545}
4646
5656 ErrRoutesValidationMissingType = errors .New ("Missing route Type" )
5757 ErrRoutesValidationPathMalformed = errors .New ("Path malformed" )
5858 ErrRoutesValidationNegativeTimeout = errors .New ("Negative timeout" )
59- ErrRoutesValidationNegativeIdleTimeout = errors .New ("Negative inactivity timeout" )
59+ ErrRoutesValidationNegativeIdleTimeout = errors .New ("Negative idle timeout" )
6060 ErrRoutesValidationNegativeMaxConcurrency = errors .New ("Negative MaxConcurrency" )
6161)
6262
You can’t perform that action at this time.
0 commit comments