Skip to content

Commit

Permalink
Even better words
Browse files Browse the repository at this point in the history
  • Loading branch information
keithpitt committed May 7, 2020
1 parent 2195029 commit 0a0a6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/pg_hero/home/_live_queries_table.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<br />
<% num_dead_tuples = vacuum_progress[query[:pid]][:num_dead_tuples] %>
<% max_dead_tuples = vacuum_progress[query[:pid]][:max_dead_tuples] %>
<span class="text-muted"><%= num_dead_tuples %> / <%= max_dead_tuples %> (<%= ((num_dead_tuples.to_f / max_dead_tuples.to_f) * 100).round(2) %>%) dead tuples 💀</span>
<span class="text-muted"><%= num_dead_tuples %> / <%= max_dead_tuples %> (<%= ((num_dead_tuples.to_f / max_dead_tuples.to_f) * 100).round(2) %>%) dead tuples until next index vacuum 💀</span>
<% elsif phase == "vacuuming heap" %>
<% heap_blks_vacuumed = vacuum_progress[query[:pid]][:heap_blks_vacuumed] %>
<% heap_blks_total = vacuum_progress[query[:pid]][:heap_blks_total] %>
Expand Down

1 comment on commit 0a0a6c9

@JuanitoFatas
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

Please sign in to comment.