Commit 0222f08d authored by Björn Richerzhagen's avatar Björn Richerzhagen
Browse files

Fixed LocationRequest-Handling

parent ffbd3e06
...@@ -341,11 +341,9 @@ public class DefaultTopologyComponent implements TopologyComponent { ...@@ -341,11 +341,9 @@ public class DefaultTopologyComponent implements TopologyComponent {
} }
}; };
/* /*
* Start somewhere within the interval, and from then on, update * Fire once immediately, from then on periodically
* periodically.
*/ */
op.scheduleWithDelay((long) Randoms op.scheduleImmediately();
.getRandom(LocationRequest.class).nextDouble() * interval);
} }
@Override @Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment