New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the close_connection issue #1

Merged
merged 2 commits into from Sep 10, 2011
Jump to file or symbol
Failed to load files and symbols.
+11 −6
Diff settings

Always

Just for now

View
@@ -6,5 +6,5 @@ gem 'thin'
gem 'http_router' gem 'http_router'
gem 'async-rack' gem 'async-rack'
gem 'em-hiredis' gem 'em-hiredis', :git => "git://github.com/mloughran/em-hiredis.git"
gem 'yajl-ruby' gem 'yajl-ruby'
View
@@ -1,3 +1,10 @@
GIT
remote: git://github.com/mloughran/em-hiredis.git
revision: ff07044584aa20461707269d802f2caf55063a36
specs:
em-hiredis (0.1.0)
hiredis (~> 0.3.0)
GEM GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
specs: specs:
@@ -10,8 +17,6 @@ GEM
rack (~> 1.3.2) rack (~> 1.3.2)
thor (~> 0.14.6) thor (~> 0.14.6)
daemons (1.1.4) daemons (1.1.4)
em-hiredis (0.1.0)
hiredis (~> 0.3.0)
eventmachine (1.0.0.beta.3) eventmachine (1.0.0.beta.3)
hiredis (0.3.2) hiredis (0.3.2)
http_router (0.10.2) http_router (0.10.2)
@@ -33,7 +38,7 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
async-rack async-rack
cramp (~> 0.15.1) cramp (~> 0.15.1)
em-hiredis em-hiredis!
http_router http_router
thin thin
yajl-ruby yajl-ruby
@@ -9,8 +9,8 @@ def create_redis
end end
def destroy_redis def destroy_redis
@pub.close_connection_after_writing @pub.close_connection
@sub.close_connection_after_writing @sub.close_connection
end end
def received_data(data) def received_data(data)
ProTip! Use n and p to navigate between commits in a pull request.