mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
Fix build and cleanup
This commit is contained in:
committed by
Nikita Mikhaylov
parent
a4f0ca0a6e
commit
e41b53fcae
@@ -393,16 +393,6 @@ static std::string getCanonicalPath(std::string && path)
|
||||
return std::move(path);
|
||||
}
|
||||
|
||||
|
||||
Server::Server()
|
||||
{
|
||||
#if USE_SSL
|
||||
::ssh::LibSSHInitializer::instance();
|
||||
::ssh::libsshLogger::initialize();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Poco::Net::SocketAddress Server::socketBindListen(
|
||||
const Poco::Util::AbstractConfiguration & config,
|
||||
Poco::Net::ServerSocket & socket,
|
||||
@@ -887,6 +877,11 @@ try
|
||||
setJemallocBackgroundThreads(true);
|
||||
#endif
|
||||
|
||||
#if USE_SSL
|
||||
::ssh::LibSSHInitializer::instance();
|
||||
::ssh::libsshLogger::initialize();
|
||||
#endif
|
||||
|
||||
Stopwatch startup_watch;
|
||||
|
||||
Poco::Logger * log = &logger();
|
||||
|
||||
Reference in New Issue
Block a user