Merge pull request 'drop locks before holding pagination timeouts' (#21) from xyon-patch-1 into main
Reviewed-on: #21
This commit is contained in:
commit
8ab3d67542
|
|
@ -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(())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue