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 {
}
};
/*
* Start somewhere within the interval, and from then on, update
* periodically.
* Fire once immediately, from then on periodically
*/
op.scheduleWithDelay((long) Randoms
.getRandom(LocationRequest.class).nextDouble() * interval);
op.scheduleImmediately();
}
@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