mirror of
https://github.com/Febbweiss/log-generator.git
synced 2026-03-04 22:25:40 +00:00
Change sell percentage
This commit is contained in:
@@ -53,7 +53,7 @@ public class App {
|
||||
total.incrementAndGet();
|
||||
counter.incrementAndGet();
|
||||
int seed = new Random().nextInt(10);
|
||||
if (seed > 6) {
|
||||
if (seed > 7) {
|
||||
executor.add(new SellRequest(total.get()));
|
||||
} else {
|
||||
executor.add(new SearchRequest(total.get()));
|
||||
|
||||
Reference in New Issue
Block a user