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 29b3794231
commit f373061563
2 changed files with 4 additions and 2 deletions

View File

@ -381,6 +381,7 @@ struct sharedObjectsStruct {
/* Global server state structure */
struct redisServer {
pthread_t mainthread;
int arch_bits;
int port;
char *bindaddr;
char *unixsocket;