-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Heartbeat decoupled from tasks. #5243
Conversation
Need a ignore heartbeat flag, since sniper will change location but should not send heartbeat since the location changed. correct me if I'm wrong. |
@solderzzc Ops, sure! Add a flag to bot instance: self.hb_locked = False |
Is there any location info in the heartbeat ? |
@anakin5 every api request contain auth info header, including device_info/location/sensor data. |
ok. Also the heartbeat function update the timeout_fort list. Do we plan to move that somewhere else ? maybe in the tick ? |
any idea what other APIs are being chained inside the heartbeat call ? |
Short Description:
Heartbeats decoupled from tasks. Heartbeat coupled to bot main instance, separate main hb logic from any tasks.
Fixes/Resolves/Closes (please use correct syntax):