drogon/examples/benchmark/main.cc
2018-12-15 20:05:19 +08:00

11 lines
225 B
C++

#include <drogon/drogon.h>
using namespace drogon;
int main()
{
app().setLogPath("./");
app().setLogLevel(trantor::Logger::WARN);
app().addListener("0.0.0.0", 7770);
app().setThreadNum(16);
app().run();
}