4
0
Эх сурвалжийг харах

LOG: drop the number of logging subsystems from 64 to 32

Currently 14 are used, 64 seems like a waste of memory.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Angus Salkeld 13 жил өмнө
parent
commit
775f71591b

+ 1 - 1
include/corosync/logsys.h

@@ -79,7 +79,7 @@ extern "C" {
  * SUBSYS_COUNT defines the maximum number of subsystems
  * SUBSYS_NAMELEN defines the maximum len of a subsystem name
  */
-#define LOGSYS_MAX_SUBSYS_COUNT		64
+#define LOGSYS_MAX_SUBSYS_COUNT		32
 #define LOGSYS_MAX_SUBSYS_NAMELEN	64
 #define LOGSYS_MAX_PERROR_MSG_LEN	128