← Back to team overview

openstack team mailing list archive

Re: yagi caching messages for time

 

yes, in your yagi.conf, in the persistence section,  set the entry_ttl value like so:

 For 120 second expiration:

[persistence]
entry_ttl = 120


The value is in seconds, so for 1 hr use 3600, etc. 


On Mar 13, 2012, at 1:50 PM, Craig Vyvial wrote:

> I noticed that in the configuration file for yagi that there is no option for storing messages for a time period but rather a limit of max_messages. 
> 
> Does anyone know if there is a way to configure yagi to keep messages for a set amount of time?
> 
> ###yagi/etc/yagi.conf###
> 
> [consumer:notifications.warn]
> apps = yagi.handler.pubsubhubbub_handler.PubSubHubBubHandler, yagi.handler.redis_handler.RedisHandler
> exchange = nova
> exchange_type = topic
> routing_key = notifications.warn
> durable = False
> max_messages = 1000
> 
> 
> -Craig Vyvial
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

--
	Monsyne M. Dragon
	OpenStack/Nova 
	cell 210-441-0965
	work x 5014190



References