|
@@ -615,6 +615,7 @@ class AgentMonitorService:
|
|
|
agent_monitor.heart_time = datetime.now()
|
|
|
self.logger.info("update_checkin %s", agent_monitor.check_state)
|
|
|
db.session.commit()
|
|
|
+ db.session.refresh(agent_monitor)
|
|
|
|
|
|
@with_app_context
|
|
|
def update_checkout(self, agent_monitor):
|