More twiddling

This commit is contained in:
Alexey Milovidov 2021-07-07 02:52:24 +03:00
parent 3351b135e7
commit 0b8729370c

View File

@ -12,11 +12,6 @@ namespace ErrorCodes
extern const int CANNOT_STAT;
}
int cert_reloader_dispatch_set_cert(SSL * ssl, [[maybe_unused]] void * arg)
{
return CertificateReloader::instance().setCertificate(ssl);
}
int CertificateReloader::setCertificate(SSL * ssl)
{
std::shared_lock lock(mutex);