TheThingsNetwork / lorawan-stack

The Things Stack, an Open Source LoRaWAN Network Server
https://www.thethingsindustries.com/stack/
Apache License 2.0
960 stars 302 forks source link

Network Server retry backoff #1503

Open rvolosatovs opened 4 years ago

rvolosatovs commented 4 years ago

Summary

In case downlink scheduling fails, NS should retry with a backoff

Why do we need this?

To not end up in an infinite loop

What is already there? What do you see now?

Retry every second

What is missing? What do you want to see?

Retry after second, then after 2 seconds, then after 4 etc.

How do you propose to implement this?

somehow record the try we're in. Also maybe this can be done as part of https://github.com/TheThingsNetwork/lorawan-stack/issues/44

Can you do this yourself and submit a Pull Request?

yes

nejraselimovic commented 3 years ago

@adriansmares this seems like it references #3642 and #3360, also #44. I'm not sure that some of these aren't referring to the same thing. If that's truly the case, let's drop what's redundant.