Skip to content

Commit

Permalink
Merge 958a1d4 into 7f567f7
Browse files Browse the repository at this point in the history
  • Loading branch information
amatriain committed May 16, 2020
2 parents 7f567f7 + 958a1d4 commit 8ae96d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/redmon/redis.rb
Expand Up @@ -15,7 +15,7 @@ module Redis
]

def redis
@redis ||= ::Redis.connect(:url => Redmon.config.redis_url)
@redis ||= ::Redis.new(:url => Redmon.config.redis_url)
end

def ns
Expand Down Expand Up @@ -62,4 +62,4 @@ def stats_key
"#{ns}:redis:#{redis_host}:stats"
end
end
end
end
2 changes: 1 addition & 1 deletion redmon.gemspec
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |s|
s.summary = %q{Redis monitor}
s.description = %q{Redis Admin interface and monitor.}

s.rubyforge_project = "redmon"
#s.rubyforge_project = "redmon"

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
Expand Down

0 comments on commit 8ae96d0

Please sign in to comment.