reduce forwarded number of disputes by one order of magnitude

This commit is contained in:
Bernhard Schuster committed 2022-02-02 12:39:39 +01:00
1 parent d9ab8ff576
commit 0ef0108264
1 file changed
+1 -1
+1 -1
View File
@@ -655,7 +655,7 @@ async fn select_disputes(
sender: &mut impl SubsystemSender,
metrics: &metrics::Metrics,
) -> Result<MultiDisputeStatementSet, Error> {
const MAX_DISPUTES_FORWARDED_TO_RUNTIME: usize = 10_000;
const MAX_DISPUTES_FORWARDED_TO_RUNTIME: usize = 1_000;
// We use `RecentDisputes` instead of `ActiveDisputes` because redundancy is fine.
// It's heavier than `ActiveDisputes` but ensures that everything from the dispute