##// END OF EJS Templates
Add the heartbeat period to the registration reply...
Jan Schulz -
Show More
@@ -904,7 +904,7 b' class Hub(SessionFactory):'
904
904
905 self.log.debug("registration::register_engine(%i, %r)", eid, uuid)
905 self.log.debug("registration::register_engine(%i, %r)", eid, uuid)
906
906
907 content = dict(id=eid,status='ok')
907 content = dict(id=eid,status='ok',hb_period=self.heartmonitor.period)
908 # check if requesting available IDs:
908 # check if requesting available IDs:
909 if cast_bytes(uuid) in self.by_ident:
909 if cast_bytes(uuid) in self.by_ident:
910 try:
910 try:
General Comments 0
You need to be logged in to leave comments. Login now