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:
@@ -91,7 +91,8 @@ requests:
|
||||
"type": "sync",
|
||||
"config": null,
|
||||
"format": "http",
|
||||
"max_concurrency": "1"
|
||||
"max_concurrency": "1",
|
||||
"idle_timeout": 30
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -100,4 +101,6 @@ requests:
|
||||
container.
|
||||
|
||||
`max_concurrency` (optional) - the number of simultaneous hot functions for
|
||||
this functions. This is a per-node configuration option. Default: 1
|
||||
this functions. This is a per-node configuration option. Default: 1
|
||||
|
||||
`idle_timeout` (optional) - idle timeout (in seconds) before function termination.
|
||||
|
||||
Reference in New Issue
Block a user