summaryrefslogtreecommitdiffstats
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-20 15:45:06 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-09-06 22:50:58 +0200
commit9ef9495e3a96e6d3ebcce46d716500ad396fe979 (patch)
treec0c99bcb2e0794043c0dd824f258db458c68e5ce /lib/lib_errors.c
parentlib: Convert netns_linux.c to new error-code work (diff)
downloadfrr-9ef9495e3a96e6d3ebcce46d716500ad396fe979.tar.xz
frr-9ef9495e3a96e6d3ebcce46d716500ad396fe979.zip
lib: Convert thread.c to use new error-code subsystem
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/lib_errors.c')
-rw-r--r--lib/lib_errors.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/lib_errors.c b/lib/lib_errors.c
index 5610a32cf..01fa27e82 100644
--- a/lib/lib_errors.c
+++ b/lib/lib_errors.c
@@ -41,6 +41,12 @@ static struct log_ref ferr_lib_warn[] = {
.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,
},
};