1、修复redis不可用后,没有重连的bug,每隔5秒重连一次;2、修复变量未使用的警告;2、增加redis能连上,但不可用时的错误处理。

This commit is contained in:
zhengchao
2018-10-18 19:39:19 +08:00
parent 1376d2c9e6
commit 3e2fd28cd0
4 changed files with 85 additions and 39 deletions

View File

@@ -21,6 +21,7 @@
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif
#define UNUSED __attribute__((unused))
const char* module_name_str(const char*name);
#define maat_module (module_name_str("MAAT_Frame"))