#ifndef ODYSSEY_WATCHDOG_H #define ODYSSEY_WATCHDOG_H /* * Odyssey. * * Scalable PostgreSQL connection pooler. */ #include #include #include #include #include #include #include #include #include #include "macro.h" #include "system.h" #include "kiwi.h" #include "instance.h" #include "debugprintf.h" #include "setproctitle.h" #include "pid.h" #include "logger.h" #include "restart_sync.h" #define ODYSSEY_WATCHDOG_ITER_INTERVAL 500 // ms void od_watchdog_worker(void *arg); od_retcode_t od_watchdog_invoke(od_system_t *server); #endif /* ODYSSEY_WATCHDOG_H */