lib/alephant/publisher/writer.rb in alephant-publisher-0.2.5 vs lib/alephant/publisher/writer.rb in alephant-publisher-0.2.6
- old
+ new
@@ -57,10 +57,10 @@
store(id, r.render, location_for(id))
end
end
def store(id, content, location)
- cache.put(location, content)
+ cache.put(location, content, :msg_id => message.id)
lookup.write(id, options, seq_id, location)
end
def location_for(id)
"#{config[:renderer_id]}/#{id}/#{opt_hash}/#{seq_id}"