Rewrite the comment to be more explicit
This commit is contained in:
parent
99fe588896
commit
919dc0307f
|
@ -62,9 +62,9 @@ pub struct Verifier {
|
||||||
impl Default for Verifier {
|
impl Default for Verifier {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
let batch = batch::Verifier::default();
|
let batch = batch::Verifier::default();
|
||||||
// This bound limits the number of concurrent batches. It should be
|
// This bound limits the number of concurrent batches for this verifier.
|
||||||
// big enough to avoid RecvErrors when tasks wait on results for a long
|
// If tasks delay checking for verifier results, and the bound is too small,
|
||||||
// time.
|
// new batches will be rejected with `RecvError`s.
|
||||||
let (tx, _) = channel(512);
|
let (tx, _) = channel(512);
|
||||||
Self { tx, batch }
|
Self { tx, batch }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue