openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #08658
Re: yagi caching messages for time
-
To:
Craig Vyvial <cp16net@xxxxxxxxx>
-
From:
Monsyne Dragon <mdragon@xxxxxxxxxxxxx>
-
Date:
Tue, 13 Mar 2012 21:21:58 +0000
-
Accept-language:
en-US
-
Cc:
openstack <openstack@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<CAOK58XQysmBYFuQeLoQ1BLo71JHDT=8D+Qn0+L-7TV6yCW=K8g@mail.gmail.com>
-
Thread-index:
AQHNAUrO+KSN0j4abk6Q4ht2GK5iH5ZpD9+A
-
Thread-topic:
[Openstack] 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