mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
fix: configure idle timeout in server (#5062)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
6070092b6a
commit
a0bcf7a966
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ func NewServer(
|
|||
ReadTimeout: 30 * time.Second,
|
||||
WriteTimeout: 30 * time.Second,
|
||||
ReadHeaderTimeout: 30 * time.Second,
|
||||
IdleTimeout: 5 * time.Minute,
|
||||
},
|
||||
mwcClient: mwcClient,
|
||||
vwcClient: vwcClient,
|
||||
|
|
Loading…
Reference in a new issue