Skip to content

Commit e8cff50

Browse files
author
Christian Paul
committed
Affect /live endpoint instead of /ready
1 parent 9b12d86 commit e8cff50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mautrix_telegram/__main__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ async def count_logged_in_users(self) -> int:
168168
def update_bridge_readiness(self):
169169
for portal in Portal.all():
170170
if portal.latest_event_timestamp and portal.latest_event_timestamp < time() - PORTAL_INACTIVE_THRESHOLD:
171-
self.az.ready = False
171+
self.az.live = False
172172
return
173-
self.az.ready = True
173+
self.az.live = True
174174

175175
async def _update_active_puppet_metric(self) -> None:
176176
active_users = UserActivity.get_active_count(

0 commit comments

Comments
 (0)