From b573a2c65135a6b33fd33c806a46d53ea7a98a6d Mon Sep 17 00:00:00 2001 From: Didier Lafforgue Date: Sat, 31 Aug 2024 23:24:02 +0200 Subject: [PATCH] finalize the Redis setup --- config/deploy.yml | 7 ------- config/initializers/redis.rb | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/config/deploy.yml b/config/deploy.yml index f6c1077..74eea89 100644 --- a/config/deploy.yml +++ b/config/deploy.yml @@ -16,13 +16,6 @@ servers: options: network: "private" - job: - hosts: - - 174.138.51.62 - cmd: bundle exec sidekiq -e production -t 25 - options: - network: "private" - # Credentials for your image host. registry: server: ghcr.io diff --git a/config/initializers/redis.rb b/config/initializers/redis.rb index ba5dfab..340cd52 100644 --- a/config/initializers/redis.rb +++ b/config/initializers/redis.rb @@ -3,7 +3,7 @@ begin redis = Redis.new - pp redis.ping + puts "✅ REDIS" if redis.ping == 'PONG' rescue Exception => e pp "🚨🚨🚨 #{e.message}" end