This website requires JavaScript.
Explore
Help
Sign In
status-im
/
go-watchdog
mirror of
https://github.com/status-im/go-watchdog.git
Watch
2
Star
0
Fork
You've already forked go-watchdog
0
Code
Issues
Projects
Releases
Wiki
Activity
60d0a53755
go-watchdog
/
.dockerignore
1 line
8 B
Plaintext
Raw
Normal View
History
Unescape
Escape
introduce cgroup-driven watchdog; refactor. This commit introduces the cgroup-driven watchdog. It can be initialized by calling watchdog.CgroupDriven(). This watchdog infers the limit from the process' cgroup, which is either derived from /proc/self/cgroup, or from the root cgroup if the PID == 1 (running in a container). Tests have been added/refactored to accommodate running locally and in a Docker container. Certain test cases now must be isolated from one another, to prevent side-effects from dirty go runtimes. A Makefile has been introduced to run all tests.
2021-01-18 17:59:51 +00:00
Makefile