Mercurial > hg > orthanc-databases
changeset 640:480344e7316d
fix build with older SDK
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Fri, 14 Feb 2025 13:10:50 +0100 |
parents | f4b132734936 |
children | a66ad2d115fa |
files | Framework/Plugins/IndexConnectionsPool.cpp |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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_)