mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
fix(db): allow clippy too_many_arguments on routed feed query wrappers
The cursor pagination `until` parameter pushed query_feed_mentions_routed and query_feed_needs_action_routed to 8 args, tripping clippy::too_many_arguments under -D warnings. Same allow already used on the neighboring routed wrappers in this file. Co-authored-by: Thomas Petersen <thomasp@squareup.com> Signed-off-by: Thomas Petersen <thomasp@squareup.com>
This commit is contained in:
co-authored by
Thomas Petersen
parent
d42a1fa95b
commit
ec706c0926
@@ -3397,6 +3397,7 @@ impl Db {
|
||||
/// parameter admits community-global rows alongside channel rows, so no
|
||||
/// single channel's fence floor can prove completeness — the covered arm
|
||||
/// is structurally unavailable, not merely unchosen.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[datastore_span(name = "query_feed_mentions_routed", system = "postgresql")]
|
||||
pub async fn query_feed_mentions_routed(
|
||||
&self,
|
||||
@@ -3482,6 +3483,7 @@ impl Db {
|
||||
/// [`Db::query_feed_needs_action`] with replica routing — BOUNDED arm
|
||||
/// only; see [`Db::query_feed_mentions_routed`] for why the covered arm
|
||||
/// is structurally unavailable to feed queries.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[datastore_span(name = "query_feed_needs_action_routed", system = "postgresql")]
|
||||
pub async fn query_feed_needs_action_routed(
|
||||
&self,
|
||||
|
||||
Reference in New Issue
Block a user