performance patches

This commit is contained in:
Arndt 2014-12-28 08:03:27 +01:00
parent 176beba6f6
commit 46db0104e5
13 changed files with 469 additions and 280 deletions

View file

@ -41,6 +41,7 @@ public class ServerHandler extends RequestHandler {
public RoutingContext readRoutingContext()
{
rc = new RoutingContext();
rc.serversizing = true;
String profile = params.get( "profile" );
// when custom profile replace prefix with directory path
@ -123,7 +124,7 @@ public class ServerHandler extends RequestHandler {
System.out.println("unknown track format '" + format + "', using default");
result = track.formatAsGpx();
}
return result;
}