Describe the bug
The server loses sync with the agent when interval becomes longer than previous interval eg. 5second --> 60seconds
The agent calls back retrieves the task and updates it's internal sleep but doesn't update the beacon ent's interval until the subsequent callback resulting in the beacon being marked dead.
To Reproduce
Steps to reproduce the behavior:
- Spin up server
- Spin up agent
- Queue the update interval tome to 60
- Refresh the beacon view until you see offline.
Expected behavior
Server and agent should be in sync