Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 3 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/cartodb/connection_pool.rb
View
4 lib/cartodb/connection_pool.rb
@@ -16,8 +16,8 @@ def fetch(configuration, &block)
@pool[connection_id(configuration)][:connection]
else
if @pool.size >= MAX_POOL_SIZE
- close_connections!
- #close_oldest_connection!
+ #close_connections!
+ close_oldest_connection!
end
connection = yield
@pool[connection_id(configuration)] = { :connection => connection, :last_accessed => Time.now }

No commit comments for this range

Something went wrong with that request. Please try again.