Skip to content

Commit

Permalink
Added randomness
Browse files Browse the repository at this point in the history
  • Loading branch information
cvk98 authored May 18, 2022
1 parent 9b5ee11 commit 7f39d6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plb.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ def main():
need_to_balance = need_to_balance_checking(cluster)
logger.info(f'Need to balance: {need_to_balance}')
if need_to_balance:
iteration = 0
balance_cl = temporary_dict(cluster)
sorted_variants = calculating(balance_cl, cluster)
if sorted_variants:
Expand Down

0 comments on commit 7f39d6d

Please sign in to comment.