Permalink
Browse files

lowered DEFAULT_MAX_MESSAGE_QUEUE_SIZE from 255 to 50

  • Loading branch information...
1 parent 9d093e0 commit 59738d8310dc7d4c2a22b660181a3eec5702f8ae @slact committed Oct 17, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 README
  2. +1 −1 src/ngx_http_push_module.h
View
2 README
@@ -48,7 +48,7 @@ push_min_message_buffer_length [ number ]
buffer, will cointain at least this many most recent messages.
push_max_message_buffer_length [ number ]
- default: 255
+ default: 50
context: http, server, location
The minimum number of messages to store per channel. A channel's message
buffer, will cointain at least this many most recent messages.
@@ -18,7 +18,7 @@ typedef struct {
#define NGX_HTTP_PUSH_DEFAULT_SHM_SIZE 16777216 //16 megs
#define NGX_HTTP_PUSH_DEFAULT_BUFFER_TIMEOUT 3600
#define NGX_HTTP_PUSH_DEFAULT_MIN_MESSAGE_QUEUE_SIZE 5
-#define NGX_HTTP_PUSH_DEFAULT_MAX_MESSAGE_QUEUE_SIZE 255
+#define NGX_HTTP_PUSH_DEFAULT_MAX_MESSAGE_QUEUE_SIZE 50
ngx_str_t NGX_HTTP_PUSH_CACHE_CONTROL_VALUE = ngx_string("no-cache");
#define NGX_HTTP_PUSH_LISTENER_LASTIN 0

0 comments on commit 59738d8

Please sign in to comment.