balena-os / balena-supervisor

Balena Supervisor: balena's agent on devices.
https://balena.io
Other
148 stars 63 forks source link

User needs to set or prevent the API polling jitter, to restrict network requests #1165

Open pdcastro opened 4 years ago

pdcastro commented 4 years ago

User has a requirement that the device must not attempt (HTTP?) any network connections for 28-minute intervals. Between their application and the supervisor, they must "batch" (so to speak) network connections to the API, and then enforce 28 minutes of "silence".

I understand the supervisor introduces "jitter" of 0.5 to 1.5 of the configured poll interval. The user needs to restrict / prevent this, and also have their app be notified somehow of when the supervisor makes or has made a network connection.

balena-ci commented 4 years ago

This issue has attached support thread https://jel.ly.fish/8224db69-cf28-4cd6-b586-8b058547d492

CameronDiver commented 4 years ago

This will actually be solved with https://github.com/balena-io/balena-supervisor/issues/1242

I'll leave this issue open until then.