Skip to content

Commit 6d2607b

Browse files
author
Huanle Han
authored
feat: clean 3 timeout configuration if not set by CPS lb (#169)
- proxy-read-timeout - proxy-send-timeout - upstream-keepalive-timeout
1 parent 189074d commit 6d2607b

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

pkg/proxy/nginx/config.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,12 @@ var (
4242

4343
// managedConfig is fully controlled by CPS. we should delete these from configmap if they are not specified.
4444
managedConfig = map[string]string{
45-
"proxy-buffer-size": "",
46-
"proxy-buffers-number": "",
47-
"limit-conn-zone-variable": "",
48-
"whitelist-source-range": "",
45+
"proxy-buffer-size": "",
46+
"proxy-buffers-number": "",
47+
"limit-conn-zone-variable": "",
48+
"proxy-read-timeout": "",
49+
"proxy-send-timeout": "",
50+
"upstream-keepalive-timeout": "",
4951
}
5052

5153
annotationExternalConfigMaps = "external-configs"

0 commit comments

Comments
 (0)