Hi Alex,
1)
- Will 'push_stream_message_ttl' override 'ngx_http_push_stream_default_message_ttl' ?
You can use push_stream_message_ttl directive to overwrite the default value of 30 minutes.
But, attention !!! This will make the server take a much longer time to release this memory, so you have to set a shared memory size compatible with you use case.
- What is max value for 'push_stream_message_ttl' ?
The max value will be the max value time_t type accept on your platform, usually a very big number. :)
- How could I can full turn off expire and delete messages from a channel?
Officially you cannot. This process is necessary to release the used memory and keep your server "healthy".
2)
I'm not sure if I understood your question. I will try to answer but feel free to clarify your doubt if I don't get your point.
You cannot explicitly delete a message, only a channel.
Since these operations are http requests (publish a message, delete a channel, ...) they will be logged on nginx access log.
The internal cleanup operations are not logged for performance reasons. And there isn't any value in logging a cleanup operation despite debugging.
Regards,
Wandenberg