Skip to content

Commit

Permalink
style: tweak formatting of rate, remove cached.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziinc committed Dec 3, 2023
1 parent e157989 commit 3b93596
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<% end %>
</small>
<small class="source-details">
events/sec: <span id="<%= @source.token %>-rate"><%= @source.metrics.rate %></span>
rate: <span id="<%= @source.token %>-rate"><%= @source.metrics.rate %>/s</span>
</small>
<small class="source-details">
<%= if @source.metrics.avg >= (0.80 * @conn.assigns.plan.limit_source_rate_limit) do %>
Expand Down Expand Up @@ -42,9 +42,6 @@
rejected: <span id="<%= @source.token %>-buffer"><%= @source.metrics.rejected %></span>
<% end %>
</small>
<small class="source-details">
cached: <%= @source.metrics.recent %></span>
</small>
<small class="source-details tw-inline-block">
ttl: <%= @source_ttl_days %> day</span>
</small>
Expand Down

0 comments on commit 3b93596

Please sign in to comment.