On timeout we will just do a quick restart and start over.
@@ -227,6 +227,10 @@ FileDistributionModelImpl::configure(std::unique_ptr<FilereferencesConfig> confi
_filesToDownloadChanged();
} catch (const ZKConnectionLossException & e) {
LOG(info, "Connection loss in reconfigure of file references, resuming. %s", e.what());
+ } catch (const ZKOperationTimeoutException & e) {
+ LOG(warning, "Operation timed out in reconfigure of file references. "
+ "Will do quick exit to start a clean sheet. %s", e.what());
+ std::quick_exit(41);
}
}
}
