MCPcopy Create free account
hub / github.com/VitoHowe/glm-coding / _run_loop

Method _run_loop

app/services/scheduler_service.py:89–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

87 def check_cached_accounts_once(self) -> None:
88 for public_account in self.state_service.list_accounts():
89 account_id = public_account.id
90 with self._lock:
91 if account_id in self._running_accounts:
92 continue
93 self._running_accounts.add(account_id)
94 try:
95 self.payment_service.bootstrap_account(account_id)
96 self.state_service.set_account_status(
97 account_id,
98 status="valid",
99 message="启动检查通过",
100 )
101 self.runtime_logs.log_account_event(
102 account_id=account_id,
103 action="startup_check",
104 stage="bootstrap",
105 status="success",

Callers

nothing calls this directly

Calls 2

poll_onceMethod · 0.95
log_system_eventMethod · 0.80

Tested by

no test coverage detected