mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +08:00
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:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user