Skip to content

Commit 7f39d6d

Browse files
authored
Added randomness
1 parent 9b5ee11 commit 7f39d6d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

plb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ def main():
417417
need_to_balance = need_to_balance_checking(cluster)
418418
logger.info(f'Need to balance: {need_to_balance}')
419419
if need_to_balance:
420+
iteration = 0
420421
balance_cl = temporary_dict(cluster)
421422
sorted_variants = calculating(balance_cl, cluster)
422423
if sorted_variants:

0 commit comments

Comments
 (0)