drogon/examples/benchmark/main.cc

11 lines
225 B
C++
Raw Normal View History

#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();
}