mirror of
https://github.com/snowykami/server-status-client.git
synced 2024-11-22 07:07:58 +08:00
✨ 提升上报时间
This commit is contained in:
parent
833c96cbc5
commit
89d7fa3145
@ -120,7 +120,7 @@ class Api:
|
||||
|
||||
class Client:
|
||||
def __init__(self, addr: str, token: str, client_id: str, name: str = "", location: str = "", labels: list[str] = [], link: str = "",
|
||||
interval: int = 5):
|
||||
interval: int = 2):
|
||||
self.api = Api(addr, {"token": token, "id": client_id})
|
||||
self.api = self.api.group("/client")
|
||||
self.api.add_headers(Authorization="{token}")
|
||||
|
Loading…
Reference in New Issue
Block a user