]> cat aescling's git repositories - mastodon.git/commitdiff
Add Makara dependency to support read-replicas (#8216)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 18 Aug 2018 19:06:12 +0000 (21:06 +0200)
committerGitHub <noreply@github.com>
Sat, 18 Aug 2018 19:06:12 +0000 (21:06 +0200)
Not active by default unless config/database.yml is edited

Gemfile
Gemfile.lock

diff --git a/Gemfile b/Gemfile
index cb34ae2ec151a38c1b53f5eee1d3f57b9c1b49b0..31c3c808619769ed40ec1f5064b1979036922ec3 100644 (file)
--- 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'
 
index ba7bdaa7b8fb7caf9ea00b982c62d15142c281e9..71f2f6c7df90f8bc79174309a52a48f055345c19 100644 (file)
@@ -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)