Show More
@@ -403,7 +403,7 b' class Hub(SessionFactory):' | |||||
403 | """ |
|
403 | """ | |
404 |
|
404 | |||
405 | super(Hub, self).__init__(**kwargs) |
|
405 | super(Hub, self).__init__(**kwargs) | |
406 |
self.registration_timeout = max( |
|
406 | self.registration_timeout = max(10000, 5*self.heartmonitor.period) | |
407 |
|
407 | |||
408 | # register our callbacks |
|
408 | # register our callbacks | |
409 | self.query.on_recv(self.dispatch_query) |
|
409 | self.query.on_recv(self.dispatch_query) |
General Comments 0
You need to be logged in to leave comments.
Login now