You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 24, 2020. It is now read-only.
Sometimes the consumer stops buying products.
I suspect that a specific buying behavior crashes if it is chosen. In that case, the consumer fails silently.
The consumer buys again, if it is stopped and started.
A temporary workaround is to only use buying behaviors that are known to work (cheapest, second cheapest).
I had the same problem when defining a new buying behavior without an implementation.
The consumer fails silently when trying to call the non-existing function.
I'm on the docker setup on Ubuntu.
The text was updated successfully, but these errors were encountered:
For executing buying behaviors, Ruby's thread function is used for multithreading. If there is an exception in this thread, it would be raised. For debugging, you may comment that out in line 57 and see if an error is thrown.
Sometimes the consumer stops buying products.
I suspect that a specific buying behavior crashes if it is chosen. In that case, the consumer fails silently.
The consumer buys again, if it is stopped and started.
A temporary workaround is to only use buying behaviors that are known to work (cheapest, second cheapest).
I had the same problem when defining a new buying behavior without an implementation.
The consumer fails silently when trying to call the non-existing function.
I'm on the docker setup on Ubuntu.
The text was updated successfully, but these errors were encountered: