diff options
author | ilnaz <ilnaz@ydb.tech> | 2023-01-25 10:08:30 +0300 |
---|---|---|
committer | ilnaz <ilnaz@ydb.tech> | 2023-01-25 10:08:30 +0300 |
commit | 46836581c1e2b8a16fdee7d4904221b170c2973c (patch) | |
tree | 53e79107140853700950417c2e8a83e938fd2654 | |
parent | 05ccdea8c443adec67e53816675696ddd3287918 (diff) | |
download | ydb-46836581c1e2b8a16fdee7d4904221b170c2973c.tar.gz |
Add delay
-rw-r--r-- | ydb/core/tx/datashard/cdc_stream_scan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/tx/datashard/cdc_stream_scan.cpp b/ydb/core/tx/datashard/cdc_stream_scan.cpp index 85ec7f1451..cd8a52714f 100644 --- a/ydb/core/tx/datashard/cdc_stream_scan.cpp +++ b/ydb/core/tx/datashard/cdc_stream_scan.cpp @@ -311,7 +311,7 @@ public: << ": streamPathId# " << Request->Get()->StreamPathId); // re-schedule tx - Self->Execute(new TDataShard::TTxCdcStreamScanProgress(Self, Request), ctx); + ctx.Schedule(TDuration::Seconds(1), Request->Release().Release()); } } |