mirror of
https://github.com/StefBuwalda/dashboard_test.git
synced 2025-10-30 11:19:58 +00:00
Made polling services async
This commit is contained in:
@@ -25,6 +25,9 @@ class service:
|
||||
def set_status(self, status: int):
|
||||
self.status = status
|
||||
|
||||
def set_online(self, b: bool):
|
||||
self.online = b
|
||||
|
||||
|
||||
services: list[service] = [
|
||||
service("https://git.ihatemen.uk"),
|
||||
|
||||
Reference in New Issue
Block a user