Hi dev,
set_timer(Duration::from_secs(timeout_sec), move || {
spawn(async move {
let _ = timeout_intent(&input.intent_id);
});
});
This piece of code will run whenever there is a new record created.
My question is will this create a bottleneck for my app if there is a lot of record created