File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ uint32_t MLInference::predict(
144144 int pid,
145145 const std::map<std::string, std::string> &raw_data,
146146 std::string &cat) {
147- std::lock_guard<std::mutex> lock (predict_mutex_);
147+ const std::lock_guard<std::mutex> lock (predict_mutex_);
148148 syslog (LOG_DEBUG, " Starting prediction." );
149149
150150 std::string concatenated_text;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ int32_t UrmSettings::serverOnlineStatus = false;
77MetaConfigs UrmSettings::metaConfigs{};
88TargetConfigs UrmSettings::targetConfigs{};
99
10- const std::string UrmSettings::mTargetConfDir = " /etc/urm/target /" ;
10+ const std::string UrmSettings::mTargetConfDir = " /usr/lib/urm /" ;
1111
1212const std::string UrmSettings::mCommonResourceFilePath =
1313 " /etc/urm/common/ResourcesConfig.yaml" ;
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ if(BUILD_TESTS)
2424 target_include_directories (RestuneTestUtils PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} /Utils/Include )
2525 install (TARGETS RestuneTestUtils DESTINATION ${CMAKE_INSTALL_LIBDIR} )
2626
27- add_library (RestunePlugin ${CMAKE_CURRENT_SOURCE_DIR} /Utils/Setup.cpp )
28- set_target_properties (RestunePlugin PROPERTIES VERSION 1.0.0 SOVERSION 1 )
29- target_link_libraries (RestunePlugin UrmExtAPIs )
30- install (TARGETS RestunePlugin DESTINATION ${CMAKE_INSTALL_SYSCONFDIR } /urm/extensions )
27+ add_library (UrmTestPlugin ${CMAKE_CURRENT_SOURCE_DIR} /Utils/Setup.cpp )
28+ set_target_properties (UrmTestPlugin PROPERTIES VERSION 1.0.0 SOVERSION 1 )
29+ target_link_libraries (UrmTestPlugin UrmExtAPIs )
30+ install (TARGETS UrmTestPlugin DESTINATION ${CMAKE_INSTALL_LIBDIR } /urm)
3131
3232 add_executable (
3333 RestuneComponentTests
You can’t perform that action at this time.
0 commit comments