Function
checkMaxconn
(haproxyData, haCfgSections)
Source from the content-addressed store, hash-verified
| 21 | |
| 22 | |
| 23 | def checkMaxconn(haproxyData, haCfgSections): |
| 24 | if "maxconn" in haproxyData and "maxconn" in haCfgSections["global"]: |
| 25 | if haproxyData["maxconn"] != haCfgSections["global"]["maxconn"][0].strip(): |
| 26 | print("global maxconn mismatch occurred") |
| 27 | return False |
| 28 | |
| 29 | return True |
| 30 | |
| 31 | def checkIdletimeout(haproxyData, haCfgSections): |
| 32 | if "idletimeout" not in haproxyData: |
Tested by
no test coverage detected