diff --git a/app/javascript/dashboard/routes/dashboard/conversation/customAttributes/CustomAttributes.vue b/app/javascript/dashboard/routes/dashboard/conversation/customAttributes/CustomAttributes.vue index 01fbe9b71..4f0cf6340 100644 --- a/app/javascript/dashboard/routes/dashboard/conversation/customAttributes/CustomAttributes.vue +++ b/app/javascript/dashboard/routes/dashboard/conversation/customAttributes/CustomAttributes.vue @@ -271,7 +271,7 @@ const evenClass = [ ghost-class="ghost" handle=".drag-handle" item-key="key" - class="last:rounded-b-lg overflow-hidden" + class="last:rounded-b-lg" :class="evenClass" @start="dragging = true" @end="onDragEnd" diff --git a/config/database.yml b/config/database.yml index 5cd278f8d..0577e3ee6 100644 --- a/config/database.yml +++ b/config/database.yml @@ -5,6 +5,9 @@ default: &default port: <%= ENV.fetch('POSTGRES_PORT', '5432') %> # ref: https://github.com/mperham/sidekiq/issues/2985#issuecomment-531097962 pool: <%= Sidekiq.server? ? ENV.fetch('SIDEKIQ_CONCURRENCY', 10) : ENV.fetch('RAILS_MAX_THREADS', 5) %> + # frequency in seconds to periodically run the Reaper, which attempts + # to find and recover connections from dead threads + reaping_frequency: <%= ENV.fetch('DB_POOL_REAPING_FREQUENCY', 30) %> variables: # we are setting this value to be close to the racktimeout value. we will iterate and reduce this value going forward statement_timeout: <%= ENV["POSTGRES_STATEMENT_TIMEOUT"] || "14s" %>