<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<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 id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Craig Vyvial <<a href="mailto:cp16net@gmail.com">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">openstack@lists.launchpad.net</a>><br>
<span style="font-weight:bold">Subject: </span>[Openstack] yagi caching messages for time<br>
</div>
<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>
_______________________________________________ Mailing list: <a href="https://launchpad.net/~openstack">
https://launchpad.net/~openstack</a> Post to : <a href="mailto:openstack@lists.launchpad.net">
openstack@lists.launchpad.net</a> Unsubscribe : <a href="https://launchpad.net/~openstack">
https://launchpad.net/~openstack</a> More help : <a href="https://help.launchpad.net/ListHelp">
https://help.launchpad.net/ListHelp</a> </span>
</body>
</html>