Our Firehose::Client::Producer code currently controls how long Redis keeps our message buffer in memory via the Cache-Control: max-age=#{n} header, which I'm pretty sure breaks the HTTP spec.
Use a more explicit header (like X-Firehose-TTL) to instruct Redis in seconds how long it should hang on to the message buffer before it expires.
Our
Firehose::Client::Producer
code currently controls how long Redis keeps our message buffer in memory via theCache-Control: max-age=#{n}
header, which I'm pretty sure breaks the HTTP spec.Use a more explicit header (like
X-Firehose-TTL
) to instruct Redis in seconds how long it should hang on to the message buffer before it expires.