drop locks before holding pagination timeouts

This commit is contained in:
Xyon 2025-06-13 02:26:01 +00:00
parent fcca9b4ea7
commit 1b31ca39b4
1 changed files with 91 additions and 88 deletions

View File

@ -78,6 +78,9 @@ async fn list_custom_responses_for_user(ctx: ManifoldContext<'_>, target: sereni
return Ok(()) return Ok(())
} }
drop(db);
drop(userinfo);
manifold::helpers::paginate(ctx, reply_handle, pages, 0).await?; manifold::helpers::paginate(ctx, reply_handle, pages, 0).await?;
Ok(()) Ok(())