reduce stash size
This commit is contained in:
parent
7dc4a3f4f4
commit
26c1c49c4e
@ -100,7 +100,7 @@ impl Vbox {
|
||||
}
|
||||
|
||||
pub fn accept(&mut self, i: usize, j: usize, construct_id: Option<Uuid>) -> Result<&mut Vbox, Error> {
|
||||
if self.bound.len() >= 9 && !construct_id.is_some() {
|
||||
if self.bound.len() >= 4 && !construct_id.is_some() {
|
||||
return Err(err_msg("too many items bound"));
|
||||
}
|
||||
|
||||
@ -171,7 +171,7 @@ impl Vbox {
|
||||
|
||||
self.bound.push(combo.item);
|
||||
// self.bound.sort_unstable();
|
||||
if self.bound.len() >= 10 {
|
||||
if self.bound.len() >= 5 {
|
||||
return Err(err_msg("too many items bound"));
|
||||
}
|
||||
Ok(self)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user