Skip to content

Commit

Permalink
incorporate the upstream changes that i accidentally clobbered
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Balthrop committed Nov 18, 2008
1 parent d06baad commit 39dabfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/data_fabric.rb
Expand Up @@ -164,7 +164,7 @@ def disconnect!
end

def verify!(arg)
connection.verify!(0) if connected?
connection.verify!(arg) if connected?
end

def with_master
Expand Down Expand Up @@ -205,6 +205,7 @@ def connection
cached_connections[name] = @model_class.connection
@model_class.active_connections[@model_class.name] = self
end
cached_connections[name].verify!(3600)
cached_connections[name]
end

Expand Down

0 comments on commit 39dabfb

Please sign in to comment.