From c79881dde534f01975c9b4ceb313239e242fb451 Mon Sep 17 00:00:00 2001 From: michalbiesek Date: Thu, 25 Jul 2019 21:21:40 +0200 Subject: [PATCH] Add support for graceful shutdown for twemcache/slimcache - ref twitter/pelikan#225 --- include/channel/cc_channel.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/channel/cc_channel.h b/include/channel/cc_channel.h index 1546d87c..10721a08 100644 --- a/include/channel/cc_channel.h +++ b/include/channel/cc_channel.h @@ -111,6 +111,7 @@ enum { CHANNEL_OPEN, /* opening */ CHANNEL_ESTABLISHED, CHANNEL_TERM, /* to be closed, don't need a closing state yet */ + CHANNEL_TERM_RESET_DB, CHANNEL_ERROR, /* unrecoverable error occurred */ CHANNEL_SENTINEL