test playing temporary-switch-to-cloudmade message only once per route

This commit is contained in:
sonora 2012-01-31 21:47:51 +01:00
parent f7e25c4085
commit 0feec63150

View file

@ -484,7 +484,7 @@ public class RoutingHelper {
if (res.isCalculated()) { if (res.isCalculated()) {
setNewRoute(res); setNewRoute(res);
// reset error wait interval // reset error wait interval
evalWaitInterval = 3000; evalWaitInterval = 3001;
} else { } else {
evalWaitInterval = evalWaitInterval * 4 / 3; evalWaitInterval = evalWaitInterval * 4 / 3;
if (evalWaitInterval > 120000) { if (evalWaitInterval > 120000) {