mirror of
https://github.com/logos-storage/das-research.git
synced 2026-01-02 21:23:09 +00:00
parametrize dumbRandomScheduler
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
a03371cf4e
commit
0a418b35b2
@ -371,9 +371,8 @@ class Validator:
|
||||
else:
|
||||
self.segmentShuffleGen = shuffled(self.segmentsToSend, self.shuffleLines)
|
||||
|
||||
def runDumbRandomScheduler(self):
|
||||
def runDumbRandomScheduler(self, tries = 100):
|
||||
# dumb random scheduler picking segments at random and trying to send it
|
||||
tries = 100
|
||||
t = tries
|
||||
while t:
|
||||
if self.rowIDs:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user