From 8cf8de3808ed2daa42c740d81da61bb4788a2824 Mon Sep 17 00:00:00 2001 From: Anthony Verez Date: Mon, 19 May 2014 14:54:46 -0700 Subject: [PATCH] netantho-105-ttl: try ttl field -> _ttl field to fix expiration --- mq/plugins/ttl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mq/plugins/ttl.py b/mq/plugins/ttl.py index 350eaa26..e4d41838 100644 --- a/mq/plugins/ttl.py +++ b/mq/plugins/ttl.py @@ -125,7 +125,7 @@ class message(object): if match: # configure the ttl - message['ttl'] = self.data_ttl[i] + message['_ttl'] = self.data_ttl[i] break # print message