mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 22:36:21 +00:00
fix: ya tenemos todos los nodos #8912
This commit is contained in:
parent
9681f15b70
commit
6a077a1280
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ class StatsController < ApplicationController
|
||||||
#
|
#
|
||||||
# @return [Integer]
|
# @return [Integer]
|
||||||
def nodes
|
def nodes
|
||||||
@nodes ||= ENV.fetch('NODES', 1).to_i
|
@nodes ||= Rails.application.nodes.size + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
def period
|
def period
|
||||||
|
|
Loading…
Reference in a new issue