Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/redmon/redis.rb
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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