MCPcopy Create free account
hub / github.com/PaddlePaddle/Serving / ServerManager

Method ServerManager

core/predictor/framework/server.cpp:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50ServerManager::ServerManager() {
51 _format_services.clear();
52 _options.idle_timeout_sec = FLAGS_idle_timeout_s;
53 _options.max_concurrency = FLAGS_max_concurrency;
54 _options.num_threads = FLAGS_num_threads;
55}
56
57int ServerManager::add_service_by_format(const std::string& format) {
58 Service* service = FormatServiceManager::instance().get_service(format);

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected