mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-21 11:41:48 +00:00
Merge branch 'issue-8912' into panel.sutty.nl
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
commit
73922b2a99
2 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -26,8 +26,4 @@ test:
|
|||
user: <%= ENV['USER'] %>
|
||||
|
||||
production:
|
||||
adapter: postgresql
|
||||
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||
database: <%= ENV.fetch('DATABASE') { 'sutty' } %>
|
||||
user: sutty
|
||||
host: postgresql
|
||||
url: <%= ENV['DATABASE_URL'] %>
|
||||
|
|
Loading…
Reference in a new issue