[zmq] set order for ZMQStartHook so other hooks don't need to stable
authorJulien Cristau <julien.cristau@logilab.fr>
Fri, 24 May 2013 11:16:09 +0200
branchstable
changeset 8990 cb67b81545c2
parent 8987 d9195dce3a5b
child 8991 5238f62a430a
[zmq] set order for ZMQStartHook so other hooks don't need to If an application wants to subscribe to some messages on the zmq bus, that needs to happen after ZMQStartHook.
hooks/zmq.py
--- a/hooks/zmq.py	Thu May 02 12:22:14 2013 +0200
+++ b/hooks/zmq.py	Fri May 24 11:16:09 2013 +0200
@@ -29,6 +29,7 @@
 class ZMQStartHook(hook.Hook):
     __regid__ = 'zmqstart'
     events = ('server_startup',)
+    order = -1
 
     def __call__(self):
         config = self.repo.config