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 {
58
58
/* Hot function idle timeout in seconds before termination.
59
59
60
60
*/
61
- IdleTimeout * int32 `json:"inactivity_timeout ,omitempty"`
61
+ IdleTimeout * int32 `json:"idle_timeout ,omitempty"`
62
62
}
63
63
64
64
// Validate validates this new task
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ type Route struct {
40
40
Format string `json:"format"`
41
41
MaxConcurrency int `json:"max_concurrency"`
42
42
Timeout int32 `json:"timeout"`
43
- IdleTimeout int32 `json:"inactivity_timeout "`
43
+ IdleTimeout int32 `json:"idle_timeout "`
44
44
Config `json:"config"`
45
45
}
46
46
56
56
ErrRoutesValidationMissingType = errors .New ("Missing route Type" )
57
57
ErrRoutesValidationPathMalformed = errors .New ("Path malformed" )
58
58
ErrRoutesValidationNegativeTimeout = errors .New ("Negative timeout" )
59
- ErrRoutesValidationNegativeIdleTimeout = errors .New ("Negative inactivity timeout" )
59
+ ErrRoutesValidationNegativeIdleTimeout = errors .New ("Negative idle timeout" )
60
60
ErrRoutesValidationNegativeMaxConcurrency = errors .New ("Negative MaxConcurrency" )
61
61
)
62
62
You can’t perform that action at this time.
0 commit comments