Skip to content

Commit 2300618

Browse files
committed
mashup: set a higher generation termination threshold to accommodate complex queries
1 parent 918e216 commit 2300618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

joebot-markov-chain/src/generate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use indexmap::IndexSet;
33
use rand::Rng;
44
use std::collections::HashSet;
55

6-
const MAX_TRIES: usize = 30;
6+
const MAX_TRIES: usize = 100;
77

88
pub trait ChainGenerate {
99
fn generate<R: Rng>(

0 commit comments

Comments
 (0)