mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-23 01:32:42 +02:00
Make IPC address a parameter in buffer config
This commit is contained in:
@@ -33,8 +33,7 @@ int main (int argc, char *argv[]) {
|
||||
int source_id = atoi(argv[4]);
|
||||
|
||||
stringstream ipc_stream;
|
||||
// TODO: Move this into config.
|
||||
ipc_stream << "ipc:///tmp/sf-live-" << source_id;
|
||||
ipc_stream << BUFFER_LIVE_IPC_URL << source_id;
|
||||
const auto ipc_address = ipc_stream.str();
|
||||
|
||||
auto ctx = zmq_ctx_new();
|
||||
|
||||
Reference in New Issue
Block a user