Added a server.arch_bits field instead of computing it at runtime for INFO.

This commit is contained in:
antirez
2012-02-02 10:02:40 +01:00
parent b80b1c5914
commit 75eaac5c74
2 changed files with 4 additions and 2 deletions

View File

@ -527,6 +527,7 @@ struct redisServer {
int activerehashing; /* Incremental rehash in serverCron() */
char *requirepass; /* Pass for AUTH command, or NULL */
char *pidfile; /* PID file path */
int arch_bits; /* 32 or 64 depending on sizeof(long) */
/* Networking */
int port; /* TCP listening port */
char *bindaddr; /* Bind address or NULL */