mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Add idle_timeout to routes API (#603)
* Add inactivity_timeout to routes API Closes: #544 * Fix failing datastore tests * Rename inactivity_timeout to idle_timeout * Update swagger doc * Update hot fn doc * Fix json tags * Add function timeouts docs * Rewording
This commit is contained in:
@@ -54,6 +54,11 @@ type NewTask struct {
|
||||
|
||||
*/
|
||||
Timeout *int32 `json:"timeout,omitempty"`
|
||||
|
||||
/* Hot function idle timeout in seconds before termination.
|
||||
|
||||
*/
|
||||
IdleTimeout *int32 `json:"idle_timeout,omitempty"`
|
||||
}
|
||||
|
||||
// Validate validates this new task
|
||||
|
||||
Reference in New Issue
Block a user