← Back to team overview

openstack team mailing list archive

Re: yagi caching messages for time

 

Oh thats awesome! Looks like i just overlooked the definition of some of
the configuration parameters.

I found this:
    default('entry_ttl', 60*60*24*30)

Thanks for that explanation its exactly what i needed.

-Craig Vyvial


On Tue, Mar 13, 2012 at 3:22 PM, Matt Dietz <matt.dietz@xxxxxxxxxxxxx>wrote:

>  max_messages actually corresponds to how many messages we try to send to
> the configured recipient before it moves onto the next queue in the list.
> Basically, it's super rudimentary QoS.
>
>  As for expiration, that's controlled by redis itself. Under the
> persistence configuration section, you can set a key called "entry_ttl"
> which takes a value in seconds. If you look in
> yagi/persistence/redis_driver.py you can see the default value specified at
> the top of the file.
>
>   From: Craig Vyvial <cp16net@xxxxxxxxx>
> Date: Tue, 13 Mar 2012 13:50:19 -0500
> To: openstack <openstack@xxxxxxxxxxxxxxxxxxx>
> Subject: [Openstack] yagi caching messages for time
>
>  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@lists.launchpad.netUnsubscribe :
> https://launchpad.net/~openstack More help :
> https://help.launchpad.net/ListHelp
>

References