Oh thats awesome! Looks like i just overlooked the definition of some of the configuration parameters. <div><div><br></div><div>I found this:</div><div>    default('entry_ttl', 60*60*24*30)</div><div><br></div><div>
Thanks for that explanation its exactly what i needed.</div><div><br></div><div>-Craig Vyvial</div><div><br></div><br><div class="gmail_quote">On Tue, Mar 13, 2012 at 3:22 PM, Matt Dietz <span dir="ltr"><<a href="mailto:matt.dietz@rackspace.com">matt.dietz@rackspace.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>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. </div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<span>
<div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">

<span style="font-weight:bold">From: </span>Craig Vyvial <<a href="mailto:cp16net@gmail.com" target="_blank">cp16net@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Tue, 13 Mar 2012 13:50:19 -0500<br>
<span style="font-weight:bold">To: </span>openstack <<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>><br>
<span style="font-weight:bold">Subject: </span>[Openstack] yagi caching messages for time<br>
</div><div><div class="h5">
<div><br>
</div>
<div>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. </div>
<div><br>
</div>
<div>Does anyone know if there is a way to configure yagi to keep messages for a set amount of time?</div>
<div><br>
</div>
<div>###yagi/etc/yagi.conf###</div>
<div><br>
</div>
<div>[consumer:notifications.warn]</div>
<div>apps = yagi.handler.pubsubhubbub_handler.PubSubHubBubHandler, yagi.handler.redis_handler.RedisHandler</div>
<div>exchange = nova</div>
<div>exchange_type = topic</div>
<div>routing_key = notifications.warn</div>
<div>durable = False</div>
<div>max_messages = 1000</div>
<div><br>
</div>
<div><br>
</div>
<div>-Craig Vyvial</div></div></div>
_______________________________________________ Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">
https://launchpad.net/~openstack</a> Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">
openstack@lists.launchpad.net</a> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">
https://launchpad.net/~openstack</a> More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">
https://help.launchpad.net/ListHelp</a> </span>
</div>

</blockquote></div><br></div>