nginx-push-stream-module icon indicating copy to clipboard operation
nginx-push-stream-module copied to clipboard

Allow per-location directives push_stream_max_messages_stored and push_stream_message_ttl

Open StrathCole opened this issue 3 years ago • 0 comments

This PR allows to use push_stream_max_messages_stored and push_stream_message_ttl in server and location.

One thing this PR does not handle is taking into account the above-mentioned settings in regard to EVENT messages for the channels. Those will always use the values configured in http scope.

Mind the difference between push_stream_max_messages_stored_per_channel (http scope) and push_stream_max_messages_stored (server and location scope).

The push_stream_message_ttl is the same naming in all three scopes.

fixes #158

StrathCole avatar Jan 20 '22 22:01 StrathCole