mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-24 02:00:43 +02:00
Rest interface uses new Kill command
This commit is contained in:
@@ -16,7 +16,7 @@ void start_rest_api(WriterManager& writer_manager, uint16_t port)
|
||||
crow::SimpleApp app;
|
||||
|
||||
CROW_ROUTE(app, "/kill")([&](){
|
||||
writer_manager.stop();
|
||||
writer_manager.kill();
|
||||
|
||||
crow::json::wvalue result;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user