about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-08-18 21:06:12 +0200
committerGitHub <noreply@github.com>2018-08-18 21:06:12 +0200
commitc6eab9e0aa06928e644cfe8445c0787e5515cd4f (patch)
tree19bc012be942d599d8cea53ce11b6d8b669efb09
parentabc5548cca42dd87926c7c3d4b42b59a7e306eb8 (diff)
Add Makara dependency to support read-replicas (#8216)
Not active by default unless config/database.yml is edited
-rw-r--r--Gemfile1
-rw-r--r--Gemfile.lock3
2 files changed, 4 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index cb34ae2ec..31c3c8086 100644
--- a/Gemfile
+++ b/Gemfile
@@ -10,6 +10,7 @@ gem 'rails', '~> 5.2.1'
 
 gem 'hamlit-rails', '~> 0.2'
 gem 'pg', '~> 1.0'
+gem 'makara', '~> 0.4'
 gem 'pghero', '~> 2.1'
 gem 'dotenv-rails', '~> 2.2', '< 2.3'
 
diff --git a/Gemfile.lock b/Gemfile.lock
index ba7bdaa7b..71f2f6c7d 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -322,6 +322,8 @@ GEM
       nokogiri (>= 1.5.9)
     mail (2.7.0)
       mini_mime (>= 0.1.1)
+    makara (0.4.0)
+      activerecord (>= 3.0.0)
     marcel (0.3.2)
       mimemagic (~> 0.3.2)
     mario-redis-lock (1.2.1)
@@ -697,6 +699,7 @@ DEPENDENCIES
   letter_opener_web (~> 1.3)
   link_header (~> 0.0)
   lograge (~> 0.10)
+  makara (~> 0.4)
   mario-redis-lock (~> 1.2)
   memory_profiler
   microformats (~> 4.0)