about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/database.yml2
-rw-r--r--config/initializers/sidekiq.rb2
-rw-r--r--config/sidekiq.yml2
3 files changed, 4 insertions, 2 deletions
diff --git a/config/database.yml b/config/database.yml
index de67804d2..259244e6f 100644
--- a/config/database.yml
+++ b/config/database.yml
@@ -1,6 +1,6 @@
 default: &default
   adapter: postgresql
-  pool: 25
+  pool: 5
   timeout: 5000
   encoding: unicode
 
diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb
index 83958d700..d9eed4a9d 100644
--- a/config/initializers/sidekiq.rb
+++ b/config/initializers/sidekiq.rb
@@ -7,5 +7,5 @@ Sidekiq.configure_server do |config|
 end
 
 Sidekiq.configure_client do |config|
-  config.redis = ConnectionPool.new(size: 25, &redis_conn)
+  config.redis = ConnectionPool.new(size: 5, &redis_conn)
 end
diff --git a/config/sidekiq.yml b/config/sidekiq.yml
new file mode 100644
index 000000000..ee32b6317
--- /dev/null
+++ b/config/sidekiq.yml
@@ -0,0 +1,2 @@
+---
+:concurrency: 5