From 9ef9495e3a96e6d3ebcce46d716500ad396fe979 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 20 Aug 2018 09:45:06 -0400 Subject: lib: Convert thread.c to use new error-code subsystem Signed-off-by: Donald Sharp --- lib/lib_errors.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/lib_errors.c') diff --git a/lib/lib_errors.c b/lib/lib_errors.c index 5610a32cf1..01fa27e82c 100644 --- a/lib/lib_errors.c +++ b/lib/lib_errors.c @@ -40,6 +40,12 @@ static struct log_ref ferr_lib_warn[] = { .description = "During system startup an invalid parameter for the namesapce was give to FRR", .suggestion = "Gather log data and open an Issue. restart FRR", }, + { + .code = LIB_WARN_SLOW_THREAD, + .title = "The Event subsystem has detected a slow process", + .description = "The Event subsystem has detected a slow process, this typically indicates that FRR is having trouble completing work in a timely manner. This can be either a misconfiguration, bug, or some combination therof.", + .suggestion = "Gather log data and open an Issue", + }, { .code = END_FERR, }, -- cgit v1.2.3