Permalink
Browse files

set default shm size to 32M

  • Loading branch information...
1 parent ad4d86d commit c1110144101f6a53294847f05dc583b1327a9ecf @slact committed Nov 10, 2009
Showing with 3 additions and 2 deletions.
  1. +1 −1 README
  2. +1 −0 changelog.txt
  3. +1 −1 src/ngx_http_push_module.h
View
2 README
@@ -58,7 +58,7 @@ push_store_messages [ on | off ]
push_channel_buffer_length 0;
push_max_reserved_memory [ size ]
- default: 16M
+ default: 32M
context: http
The size of the memory chunk this module will use for all message queuing
and buffering.
View
@@ -1,3 +1,4 @@
+ change: default max. reserved memory size changed form 16MB to 32 MB
change: unused node garbage collection made a little more aggressive (max. 3 unused channels per channel search instead of 1)
fix: unused nodes were deleted only on channel id hash collision (very rare)
0.681 (Nov. 6 2009)
@@ -3,7 +3,7 @@
#include <ngx_http.h>
#include <ngx_channel.h>
-#define NGX_HTTP_PUSH_DEFAULT_SHM_SIZE 16777216 //16 megs
+#define NGX_HTTP_PUSH_DEFAULT_SHM_SIZE 33554432 //32 megs
#define NGX_HTTP_PUSH_DEFAULT_BUFFER_TIMEOUT 3600
#define NGX_HTTP_PUSH_DEFAULT_MIN_MESSAGES 1

0 comments on commit c111014

Please sign in to comment.