Revert "子进程重启失败时,不断重试,避免重启失败 (#1545)"

This reverts commit 471a8b77
This commit is contained in:
xiongziliang
2022-04-09 20:57:00 +08:00
parent 471a8b7735
commit c334dcfd38
2 changed files with 3 additions and 13 deletions

View File

@@ -318,7 +318,7 @@ int start_main(int argc,char *argv[]) {
sleep(1);
#if !defined(_WIN32)
if (pid != getpid()) {
kill(pid, SIGUSR1);
kill(pid, SIGINT);
}
#endif
return -1;