itabe / monav

Automatically exported from code.google.com/p/monav
0 stars 0 forks source link

Daemon should check data directory before calculating a route #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Thanks for the quick implementation of a daemon :-)

Looking over the code I think that the data directory is not evaluated when 
retrieving a route. This is not a problem if only one client accesses the 
daemon or all clients use the same data directory. Otherwise the route may be 
calculated on the wrong data if a different client loaded another data 
directory between the data loading and route retrieval calls.

I think that the current data directory should be remembered and checked when 
retrieving a route. If the provided one is different, either no route should be 
calculated or the new data directory be loaded.

Original issue reported on code.google.com by earthwi...@gentoo.org on 5 Sep 2010 at 7:35

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r225.

Original comment by veaac.fd...@gmail.com on 6 Sep 2010 at 9:17

GoogleCodeExporter commented 9 years ago
This issue was closed by revision ab8525db8606.

Original comment by veaac.fd...@gmail.com on 23 Apr 2011 at 3:58