refactor(storage): update paymentintent object to provide a relation with attempts (#2502)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Sampras Lopes
2023-10-13 08:10:54 +05:30
committed by GitHub
parent 8a396a224d
commit fbf3c03d41
36 changed files with 877 additions and 858 deletions

View File

@ -122,7 +122,8 @@ async fn drainer_handler(
active_tasks.fetch_add(1, atomic::Ordering::Release);
let stream_name = utils::get_drainer_stream_name(store.clone(), stream_index);
let drainer_result = drainer(store.clone(), max_read_count, stream_name.as_str()).await;
let drainer_result =
Box::pin(drainer(store.clone(), max_read_count, stream_name.as_str())).await;
if let Err(error) = drainer_result {
logger::error!(?error)