Merge pull request #58733 from ClickHouse/fix-mac-os-x

Fix Mac OS X
This commit is contained in:
Alexey Milovidov 2024-01-12 20:03:37 +01:00 committed by GitHub
commit 43b31204a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,11 @@ TimeoutSetter::~TimeoutSetter()
}
catch (...)
{
/// It's known that setting timeouts for a socket often does not work on Apple macOS.
/// Let's not confuse the users of Apple macOS with extraneous error messages.
#if !defined(OS_DARWIN)
tryLogCurrentException("Client", "TimeoutSetter: Can't reset timeouts");
#endif
}
}