Sylwia0506 / Projekt_IoT

1 stars 0 forks source link

Add reconnect button to map after 3 failed connection attempts #97

Closed piogru closed 8 months ago

piogru commented 8 months ago

After 3 map update requests in a row fail, no more requests will be made and a "reconnect" button will appear on the screen. Pressing the button will resume sending requests. This change is meant to reduce error spam, when backend cannot be reached.

Currently existing requests are not stopped after the 3rd failure happens so the amount of errors displayed can differ. Dropping unfinished requests could be implemented in another task.

closes #96