From 23cfb8ad2023dd9360fe8119fa0da66cd9fc273c Mon Sep 17 00:00:00 2001
From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl>
Date: Sat, 28 Jan 2017 16:06:10 +0100
Subject: [PATCH] go timestamp them yourself

---
 coolamqp/clustering/events.py | 13 ++-----------
 setup.py                      |  2 +-
 2 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/coolamqp/clustering/events.py b/coolamqp/clustering/events.py
index a45f896..d18c3d3 100644
--- a/coolamqp/clustering/events.py
+++ b/coolamqp/clustering/events.py
@@ -19,20 +19,12 @@ class Event(object):
     An event emitted by Cluster
     """
 
-class Timestamped(Event):
-    """
-    Notes the time of the event (as result of .monotonic)
-    """
-    def __init__(self):
-        super(Timestamped, self).__init__()
-        self.ts = monotonic.monotonic()
-
 
 class NothingMuch(Event):
     """Nothing happened :D"""
 
 
-class ConnectionLost(Timestamped):
+class ConnectionLost(Event):
     """
     We have lost the connection.
 
@@ -45,7 +37,7 @@ class ConnectionLost(Timestamped):
     """
 
 
-class MessageReceived(ReceivedMessage, Timestamped):
+class MessageReceived(ReceivedMessage, Event):
     """
     Something that works as an ersatz ReceivedMessage, but is an event
     """
@@ -54,4 +46,3 @@ class MessageReceived(ReceivedMessage, Timestamped):
         ReceivedMessage.__init__(self, msg.body, msg.exchange_name, msg.routing_key,
                                  properties=msg.properties, delivery_tag=msg.delivery_tag,
                                  ack=msg.ack, nack=msg.nack)
-        Timestamped.__init__(self)
diff --git a/setup.py b/setup.py
index 50a50c4..46dd47b 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ from setuptools import setup
 
 setup(name=u'CoolAMQP',
       version='0.89',
-      description=u'The fastest AMQP client',
+      description=u'Very fast pure-Python AMQP client',
       author=u'DMS Serwis s.c.',
       author_email=u'piotrm@smok.co',
       url=u'https://github.com/smok-serwis/coolamqp',
-- 
GitLab