summaryrefslogtreecommitdiff
path: root/python/qmf/console.py
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2008-12-01 16:38:54 +0000
committerTed Ross <tross@apache.org>2008-12-01 16:38:54 +0000
commit1d8a1fa5fdbbe04f7c5412c51facae9b5b2518a5 (patch)
treea672ee4efbc0a5289fe37d93bf4afcd4879d655f /python/qmf/console.py
parent8f38c8b511bbf232c5a65203b415aff456e61992 (diff)
downloadqpid-python-1d8a1fa5fdbbe04f7c5412c51facae9b5b2518a5.tar.gz
Fixed a performance regression caused by the management code.
The current/last-change timestamp is now set on management objects when they are published, not when they actually change. Also, the timestamp is updated only if modifications were made to the object in the last publish interval. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722120 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qmf/console.py')
-rw-r--r--python/qmf/console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qmf/console.py b/python/qmf/console.py
index 58cc46ae6f..9f5f621ba0 100644
--- a/python/qmf/console.py
+++ b/python/qmf/console.py
@@ -558,7 +558,7 @@ class Session:
self.cv.release()
object = Object(self, broker, schema, codec, prop, stat)
- if pname == "org.apache.qpid.broker" and classKey.getClassName() == "agent":
+ if pname == "org.apache.qpid.broker" and classKey.getClassName() == "agent" and prop:
broker._updateAgent(object)
try: