0.7.26
This commit is contained in:
@@ -52,10 +52,17 @@ pub struct KbLocalPipelineReplayResult {
|
||||
pub detection_count: usize,
|
||||
/// Total trade aggregation results returned by replayed aggregation calls.
|
||||
pub trade_event_count: usize,
|
||||
/// Total candle aggregation results returned by replayed candle calls.
|
||||
pub pair_candle_count: usize,
|
||||
/// Total analytic signal results returned by replayed analytic calls.
|
||||
pub analytic_signal_count: usize,
|
||||
/// Total candle upsert results returned by replayed candle calls.
|
||||
///
|
||||
/// This is a replay write/result counter, not the number of distinct rows
|
||||
/// currently persisted in `kb_pair_candles`. Use local diagnostics for the
|
||||
/// persisted row count.
|
||||
pub pair_candle_upsert_count: usize,
|
||||
/// Total analytic signal upsert results returned by replayed analytic calls.
|
||||
///
|
||||
/// This is a replay write/result counter, not the number of distinct rows
|
||||
/// currently persisted in the analytic signal table.
|
||||
pub analytic_signal_upsert_count: usize,
|
||||
/// Number of token metadata rows updated after replay.
|
||||
pub token_metadata_updated_count: usize,
|
||||
/// Number of pair symbols updated after replay.
|
||||
@@ -177,7 +184,7 @@ impl KbLocalPipelineReplayService {
|
||||
.await;
|
||||
match candle_result {
|
||||
Ok(candle_results) => {
|
||||
result.pair_candle_count += candle_results.len();
|
||||
result.pair_candle_upsert_count += candle_results.len();
|
||||
},
|
||||
Err(error) => {
|
||||
result.pair_candle_error_count += 1;
|
||||
@@ -192,7 +199,7 @@ impl KbLocalPipelineReplayService {
|
||||
pair_analytic_signal.record_transaction_by_signature(signature.as_str()).await;
|
||||
match analytic_result {
|
||||
Ok(analytic_results) => {
|
||||
result.analytic_signal_count += analytic_results.len();
|
||||
result.analytic_signal_upsert_count += analytic_results.len();
|
||||
},
|
||||
Err(error) => {
|
||||
result.analytic_signal_error_count += 1;
|
||||
|
||||
Reference in New Issue
Block a user