Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffxy committed May 5, 2024
1 parent 3b469a7 commit eb032ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/brad/planner/scoring/performance/unified_aurora.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ def predict_loads(
next_has_replicas = next_prov.num_nodes() > 1

curr_writer_cpu_util = float(ctx.metrics.aurora_writer_cpu_avg / 100)
curr_writer_cpu_util_denorm = float(curr_writer_cpu_util * aurora_num_cpus(curr_prov))
curr_writer_cpu_util_denorm = float(
curr_writer_cpu_util * aurora_num_cpus(curr_prov)
)

# We take a very conservative approach to query movement. If new queries
# are added onto Aurora, we increase the load. But if queries are
Expand Down

0 comments on commit eb032ec

Please sign in to comment.