@ -218,13 +218,19 @@ static int config_insert(server *srv) {
srv - > srvconf . stat_cache_engine = STAT_CACHE_ENGINE_SIMPLE ;
} else if ( buffer_is_equal_string ( stat_cache_string , CONST_STR_LEN ( " simple " ) ) ) {
srv - > srvconf . stat_cache_engine = STAT_CACHE_ENGINE_SIMPLE ;
# ifdef HAVE_FAM_H
} else if ( buffer_is_equal_string ( stat_cache_string , CONST_STR_LEN ( " fam " ) ) ) {
srv - > srvconf . stat_cache_engine = STAT_CACHE_ENGINE_FAM ;
# endif
} else if ( buffer_is_equal_string ( stat_cache_string , CONST_STR_LEN ( " disable " ) ) ) {
srv - > srvconf . stat_cache_engine = STAT_CACHE_ENGINE_NONE ;
} else {
log_error_write ( srv , __FILE__ , __LINE__ , " sb " ,
" server.stat-cache-engine can be one of \" disable \" , \" simple \" , \" fam \" , but not: " , stat_cache_string ) ;
" server.stat-cache-engine can be one of \" disable \" , \" simple \" , "
# ifdef HAVE_FAM_H
" \" fam \" , "
# endif
" but not: " , stat_cache_string ) ;
ret = HANDLER_ERROR ;
}