Преглед изворни кода

Avoid router match graph generation affecting benchmark result.

Sönke Ludwig пре 9 година
родитељ
комит
9408dcbc30
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      frameworks/D/vibed/source/mongodb.d

+ 1 - 0
frameworks/D/vibed/source/mongodb.d

@@ -14,6 +14,7 @@ shared static this()
 {
 	auto router = new URLRouter;
 	router.registerWebInterface(new WebInterface);
+	router.rebuild();
 
 	auto settings = new HTTPServerSettings;
 	settings.bindAddresses = ["0.0.0.0"];