Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix timeout issues in OptimizationRulesTest #1787

Open
johnynek opened this issue Feb 5, 2018 · 1 comment
Open

Fix timeout issues in OptimizationRulesTest #1787

johnynek opened this issue Feb 5, 2018 · 1 comment

Comments

@johnynek
Copy link
Collaborator

johnynek commented Feb 5, 2018

I think the issue is that a.cross(b) takes a pipe of n and pipe of m and emits n * m elements. If you get lucky and do that a two times, and have some moderately sized inputs, you can really generate massive outputs.

I see a few solutions:

  1. make sure we don't put too many items in initially
  2. turn down the probability of cross, which is VERY rarely used for the same reason. Also, it is not fundamental and expressed in terms of other operators.
  3. put a .limit after each cross, which restricts the kinds of topologies we see.
@johnynek
Copy link
Collaborator Author

johnynek commented Feb 7, 2018

could be related to #1789

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant