@@ -19,17 +19,17 @@ namespace vamp_zero {
|
||||
struct runtime_config {
|
||||
std::bool_t headless{false};
|
||||
std::bool_t exit_after_startup{false};
|
||||
std::string assets_path{"/usr/share/product-vamp"};
|
||||
std::string heartbeat_path{"/run/product-vamp/heartbeat.json"};
|
||||
std::string assets_path{"/usr/share/product_vamp"};
|
||||
std::string heartbeat_path{"/run/product_vamp/heartbeat.json"};
|
||||
};
|
||||
|
||||
struct database_config {
|
||||
std::string path{"/usr/share/product-vamp/catalog.db"};
|
||||
std::string path{"/usr/share/product_vamp/catalog.db"};
|
||||
};
|
||||
|
||||
struct control_config {
|
||||
ligo::endpoint_config endpoint{
|
||||
.name = "product-vamp-control",
|
||||
.name = "product_vamp_control",
|
||||
.protocol = ligo::protocol::HTTP,
|
||||
.bind = "0.0.0.0:8080",
|
||||
.timeout = std::chrono::milliseconds{5000},
|
||||
|
||||
Reference in New Issue
Block a user