WildernessLabs / Meadow_Issues

Public repo for bugs and issues with Meadow
15 stars 0 forks source link

Meadow.Cloud - OTA Update events triggering multiple times #715

Open jorgedevs opened 4 months ago

jorgedevs commented 4 months ago

You can trigger the Meadow.Cloud's OTA Update events multiple times if/when you publish an update multiple times, causing the device to download the update more than once.

Might be a good idea to add logic to either cancel an ongoing update to get a newer incoming update, ignore subsequent incoming update events if one is processing, just queue the updates, or any other alternative. Not sure what option makes most sense.

alexischr commented 2 months ago

We need to reason whether we want to serialize multiple updates, or disregard all but one.