mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-10-30 00:21:29 +01:00
Rest interface uses new Kill command
This commit is contained in:
1 parent
c5140fef68
commit
3869a045d8
1 file changed
+1
-1
@@ -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