From 6fe0b262016da48446197a5e307a04a4e9b66612 Mon Sep 17 00:00:00 2001 From: Zxilly Date: Tue, 10 Aug 2021 16:48:03 +0800 Subject: [PATCH] fix: shorten wait time --- src/ua2f.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ua2f.c b/src/ua2f.c index eda3e8c0..6851a8db 100644 --- a/src/ua2f.c +++ b/src/ua2f.c @@ -395,7 +395,7 @@ int main(int argc, char *argv[]) { } } errcount++; - if (errcount > 50) { + if (errcount > 10) { syslog(LOG_ERR, "Meet too many fatal error, no longer try to recover."); syslog(LOG_ERR, "Exit at breakpoint 3."); exit(EXIT_FAILURE);