From 3cf58d68a21218700fb1c805f3390cdd2a7b774d Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Sun, 4 Apr 2021 22:01:47 -0700 Subject: [PATCH] :racehorse: enabled multi-threading for debugging --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index a9d2260..c2b12a7 100644 --- a/main.cpp +++ b/main.cpp @@ -40,7 +40,7 @@ int main(int argc, char **argv) } auto API = std::make_shared(); - app().addListener("0.0.0.0", 80).registerController(API).run(); + app().addListener("0.0.0.0", 80).registerController(API).setThreadNum(std::stoul(argv[3])).run(); return 0; } \ No newline at end of file