Changes timings for deletion users in stress test

This commit is contained in:
Andrey Terentev 2024-03-16 22:18:43 +07:00 committed by Andrey Terentev
parent cadd7f76f7
commit 840196fba1

View File

@ -64,7 +64,7 @@ public class Main {
for (var nodeId: nodes) {
for (int i = 0; i < roomsPerNode; i++) {
client.getRoomRepository().saveRoom(
new RoomDefinition(nodeId, RoomIdentifier.of(UUID.randomUUID().toString())).setMaxSlots(roomsPerNode)
new RoomDefinition(nodeId, RoomIdentifier.of(UUID.randomUUID().toString())).setMaxSlots(10)
);
}
}
@ -104,7 +104,7 @@ public class Main {
} catch (Exception ex) {
System.out.println("Error(" + ex.getClass().getSimpleName() + "): " + ex.getMessage());
}
}, random.nextInt(1000) + 100, TimeUnit.MILLISECONDS);
}, random.nextInt(10) + 1, TimeUnit.SECONDS);
}
} catch (Exception ex) {
System.out.println("Error(" + ex.getClass().getSimpleName() + "): " + ex.getMessage());