mirror of
https://github.com/XTXMarkets/ternfs.git
synced 2026-01-05 18:40:16 -06:00
22 lines
483 B
C++
22 lines
483 B
C++
// Copyright 2025 XTX Markets Technologies Limited
|
|
//
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "CommonOptions.hpp"
|
|
|
|
struct CDCOptions {
|
|
LogOptions logOptions;
|
|
XmonOptions xmonOptions;
|
|
MetricsOptions metricsOptions;
|
|
RegistryClientOptions registryClientOptions;
|
|
LogsDBOptions logsDBOptions;
|
|
ServerOptions serverOptions;
|
|
|
|
Duration shardTimeout = 100_ms;
|
|
AddrsInfo cdcToShardAddress = {};
|
|
};
|
|
|
|
void runCDC(CDCOptions& options);
|