mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 14:58:03 +03:00
7a7e8c0d57
Summary: skip logging as "bad" requests for health checks health checks are currently implemented like simple connections to the port: ``` def _test_service_is_running(ui): port = ui.configint("commitcloud", "scm_daemon_tcp_port") s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) if s.connect_ex(("127.0.0.1", port)): _warn_service_not_running(ui) s.close() ``` so, skipping errors coming from json parsing for those type of checks todo: implement a proper health_check request which can be part of migration to json rpc Reviewed By: quark-zju Differential Revision: D43693235 fbshipit-source-id: 689cd3368c665fefd61a86d1125dc8d2aba1354d |
||
---|---|---|
.. | ||
fs | ||
integration | ||
locale | ||
mononoke | ||
scm | ||
test_support | ||
test-data | ||
testlib | ||
.clang-tidy | ||
.gitignore | ||
.mononoke_test_file | ||
Eden.project.toml |