74c49a7682
- Why I did it swsscommon.ConfigDBConnector does not automatically close connection when the instance is recycled by python. So, it should not create this instance each time calling check_services. It will cause error like Failed to read from file /var/run/hw-management/led/led_status_capability - OSError(24, 'Too many open files') - How I did it Only connect DB once in init - How to verify it Manual test |
||
---|---|---|
.. | ||
health_checker | ||
scripts | ||
tests | ||
.gitignore | ||
pytest.ini | ||
setup.cfg | ||
setup.py |