Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

upped DEFAULT_SHM_SIZE from 3 to 12 megs

  • Loading branch information...
commit 9d093e08ed6eb7fb455545c00228ab25e9360f88 1 parent 4aa03b7
@slact authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  README
  2. +1 −1  src/ngx_http_push_module.h
View
2  README
@@ -36,7 +36,7 @@ push_listener_concurrency [ last | first | broadcast ]
Conflict response.
push_max_reserved_memory [ size ]
- default: 3M
+ default: 12M
context: http
The size of the memory chunk this module will use for all message queuing
and buffering.
View
2  src/ngx_http_push_module.h
@@ -15,7 +15,7 @@ typedef struct {
ngx_int_t min_message_recipients;
} ngx_http_push_loc_conf_t;
-#define NGX_HTTP_PUSH_DEFAULT_SHM_SIZE 3145728 //3 megs
+#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
Please sign in to comment.
Something went wrong with that request. Please try again.