Commit bdbb0fe9 authored by Ahmad Sherif's avatar Ahmad Sherif
Browse files

Update Main.java

parent 6d10b9c0
Pipeline #30187 passed with stage
in 1 minute and 19 seconds
......@@ -31,6 +31,7 @@ import com.ongres.pgio.main.stats.serializer.StatSerializer;
import com.ongres.pgio.main.version.Version;
import fi.iki.elonen.NanoHTTPD;
import fi.iki.elonen.util.ServerRunner;
import joptsimple.OptionException;
import joptsimple.OptionParser;
......@@ -139,7 +140,7 @@ public class Main {
private static void runPrometheusService(Config config) throws IOException {
PrometheusService service = new PrometheusService(config);
service.start();
ServerRunner.executeInstance(service);
}
private static void runCollector(Config config) throws Exception, InterruptedException {
......
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