5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 01:26:22 +00:00

fix: ya tenemos todos los nodos #8912

This commit is contained in:
f 2022-12-28 16:48:51 -03:00
parent 9681f15b70
commit 6a077a1280

View file

@ -209,7 +209,7 @@ class StatsController < ApplicationController
#
# @return [Integer]
def nodes
@nodes ||= ENV.fetch('NODES', 1).to_i
@nodes ||= Rails.application.nodes.size + 1
end
def period