You could try to set RetryPollIntervalSeconds
a bit higher, but I don’t think it will make a big difference in your case. It uses exponential backoff with number of attempts defined by this formula:
3 * ceil(log2(RetryPollIntervalSeconds) + 1)
In other words increasing RetryPollIntervalSeconds
will only increase the number of attempts slightly, but will increase waiting time a lot.
If you are ok with patching, you could try to change the 3
in that formula instead, which can be done here. Note that in order to do this you must be using Mender Client 3.0.0 or later, or else you will most likely get this error:
State data stored and retrieved maximum number of times