don't use object sharing inside I/O threads, as a fix for a well known instability of VM introduced with the new object sharing code

This commit is contained in:
antirez
2010-07-22 13:08:02 +02:00
parent 1a71fb9669
commit 0e5441d816
3 changed files with 11 additions and 2 deletions

View File

@ -327,6 +327,7 @@ struct sharedObjectsStruct {
/* Global server state structure */
struct redisServer {
pthread_t mainthread;
int port;
int fd;
redisDb *db;