# HG changeset patch # User Alain Mazy # Date 1739535050 -3600 # Node ID 480344e7316d1a45dcf8978a6c6495e8e34fcdfe # Parent f4b132734936df2427cf27a97ad6dc121129031d fix build with older SDK diff -r f4b132734936 -r 480344e7316d Framework/Plugins/IndexConnectionsPool.cpp --- a/Framework/Plugins/IndexConnectionsPool.cpp Fri Feb 14 12:34:26 2025 +0100 +++ b/Framework/Plugins/IndexConnectionsPool.cpp Fri Feb 14 13:10:50 2025 +0100 @@ -49,7 +49,10 @@ void IndexConnectionsPool::HousekeepingThread(IndexConnectionsPool* that) { +#if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 2) OrthancPluginSetCurrentThreadName(OrthancPlugins::GetGlobalContext(), "DB HOUSEKEEPING"); +#endif + boost::posix_time::ptime lastInvocation = boost::posix_time::second_clock::local_time(); while (that->housekeepingContinue_)