hpi-epic / pricewars-consumer

Consumer Component of the Price Wars Platform
MIT License
0 stars 4 forks source link

Fix consumer stop buying after first product #8

Closed CarstenWalther closed 6 years ago

CarstenWalther commented 6 years ago

The problem was an integer division where a float division was expected in exponential(60.0 / $consumer_per_minute, random_generator).

Other changes are:

Bouncner commented 6 years ago

Carsten, can you please update the main repo with the fix?

And what is thebest way to recreate the docker consumer after that?

CarstenWalther commented 6 years ago

Done. Recreate the consumer with: docker-compose rm docker rmi pricewars_consumer The next docker-compose up creates a new consumer