mirror of
https://github.com/newnius/YAO-agent.git
synced 2025-06-06 05:21:55 +00:00
update, bugfix
This commit is contained in:
parent
a8fd76ac05
commit
39486de323
2
mock.py
2
mock.py
@ -12,7 +12,7 @@ NUMS = os.getenv('NUMS', 1)
|
||||
ClientHost = os.getenv('ClientHost', "localhost")
|
||||
ReportAddress = os.getenv('ReportAddress', "http://yao-scheduler:8080/?action=agent_report")
|
||||
PORT = os.getenv('Port', 8000)
|
||||
HeartbeatInterval = os.getenv('HeartbeatInterval', 5)
|
||||
HeartbeatInterval = int(os.getenv('HeartbeatInterval', 5))
|
||||
|
||||
|
||||
class MyHandler(BaseHTTPRequestHandler):
|
||||
|
Loading…
Reference in New Issue
Block a user