advanced_connection 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/.gitignore +8 -0
- data/.rspec +2 -0
- data/.travis.yml +63 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +218 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +165 -0
- data/advanced_connection.gemspec +49 -0
- data/gemfiles/jruby/rails4_1.gemfile +7 -0
- data/gemfiles/jruby/rails4_2.gemfile +7 -0
- data/gemfiles/ruby/rails4_1.gemfile +7 -0
- data/gemfiles/ruby/rails4_2.gemfile +7 -0
- data/lib/advanced_connection/active_record_ext/abstract_adapter/statement_pooling.rb +121 -0
- data/lib/advanced_connection/active_record_ext/abstract_adapter.rb +48 -0
- data/lib/advanced_connection/active_record_ext/connection_pool/idle_manager.rb +271 -0
- data/lib/advanced_connection/active_record_ext/connection_pool/queues.rb +60 -0
- data/lib/advanced_connection/active_record_ext/connection_pool/statement_pooling.rb +42 -0
- data/lib/advanced_connection/active_record_ext/connection_pool/without_connection.rb +93 -0
- data/lib/advanced_connection/active_record_ext/connection_pool.rb +38 -0
- data/lib/advanced_connection/active_record_ext/without_connection.rb +30 -0
- data/lib/advanced_connection/active_record_ext.rb +59 -0
- data/lib/advanced_connection/config.rb +247 -0
- data/lib/advanced_connection/error.rb +27 -0
- data/lib/advanced_connection/railtie.rb +40 -0
- data/lib/advanced_connection/version.rb +29 -0
- data/lib/advanced_connection.rb +65 -0
- data/lib/generators/advanced_connection/install/USAGE +5 -0
- data/lib/generators/advanced_connection/install/install_generator.rb +30 -0
- data/lib/generators/advanced_connection/install/templates/advanced_connection.rb +142 -0
- data/lib/tasks/advanced_connection_tasks.rake +25 -0
- data/spec/config/database.yml +18 -0
- data/spec/config/database.yml.erb +54 -0
- data/spec/dummy/.gitignore +1 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/book.rb +2 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +13 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +29 -0
- data/spec/dummy/config/application.rb +32 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +17 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +48 -0
- data/spec/dummy/config/environments/production.rb +79 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/advanced_connection.rb +142 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +56 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/migrate/20160222045238_create_books.rb +10 -0
- data/spec/dummy/db/schema.rb +23 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/log/test.log +327 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/test/fixtures/books.yml +9 -0
- data/spec/dummy/test/models/book_test.rb +7 -0
- data/spec/idle_manager_spec.rb +16 -0
- data/spec/spec_helper.rb +25 -0
- data/spec/support/db_config.rb +61 -0
- metadata +399 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Version of your assets, change this if you want to expire all your assets.
|
4
|
+
Rails.application.config.assets.version = '1.0'
|
5
|
+
|
6
|
+
# Add additional assets to the asset load path
|
7
|
+
# Rails.application.config.assets.paths << Emoji.images_path
|
8
|
+
|
9
|
+
# Precompile additional assets.
|
10
|
+
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
11
|
+
# Rails.application.config.assets.precompile += %w( search.js )
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
4
|
+
# are locale specific, and you may define rules for as many different
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
9
|
+
# inflect.irregular 'person', 'people'
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
11
|
+
# end
|
12
|
+
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.acronym 'RESTful'
|
16
|
+
# end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
+
end
|
10
|
+
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
13
|
+
# self.include_root_in_json = true
|
14
|
+
# end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
+
# than English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t 'hello'
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t('hello') %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# To learn more, please read the Rails Internationalization guide
|
20
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
+
|
22
|
+
en:
|
23
|
+
hello: "Hello world"
|
@@ -0,0 +1,56 @@
|
|
1
|
+
Rails.application.routes.draw do
|
2
|
+
# The priority is based upon order of creation: first created -> highest priority.
|
3
|
+
# See how all your routes lay out with "rake routes".
|
4
|
+
|
5
|
+
# You can have the root of your site routed with "root"
|
6
|
+
# root 'welcome#index'
|
7
|
+
|
8
|
+
# Example of regular route:
|
9
|
+
# get 'products/:id' => 'catalog#view'
|
10
|
+
|
11
|
+
# Example of named route that can be invoked with purchase_url(id: product.id)
|
12
|
+
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
|
13
|
+
|
14
|
+
# Example resource route (maps HTTP verbs to controller actions automatically):
|
15
|
+
# resources :products
|
16
|
+
|
17
|
+
# Example resource route with options:
|
18
|
+
# resources :products do
|
19
|
+
# member do
|
20
|
+
# get 'short'
|
21
|
+
# post 'toggle'
|
22
|
+
# end
|
23
|
+
#
|
24
|
+
# collection do
|
25
|
+
# get 'sold'
|
26
|
+
# end
|
27
|
+
# end
|
28
|
+
|
29
|
+
# Example resource route with sub-resources:
|
30
|
+
# resources :products do
|
31
|
+
# resources :comments, :sales
|
32
|
+
# resource :seller
|
33
|
+
# end
|
34
|
+
|
35
|
+
# Example resource route with more complex sub-resources:
|
36
|
+
# resources :products do
|
37
|
+
# resources :comments
|
38
|
+
# resources :sales do
|
39
|
+
# get 'recent', on: :collection
|
40
|
+
# end
|
41
|
+
# end
|
42
|
+
|
43
|
+
# Example resource route with concerns:
|
44
|
+
# concern :toggleable do
|
45
|
+
# post 'toggle'
|
46
|
+
# end
|
47
|
+
# resources :posts, concerns: :toggleable
|
48
|
+
# resources :photos, concerns: :toggleable
|
49
|
+
|
50
|
+
# Example resource route within a namespace:
|
51
|
+
# namespace :admin do
|
52
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
53
|
+
# # (app/controllers/admin/products_controller.rb)
|
54
|
+
# resources :products
|
55
|
+
# end
|
56
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure the secrets in this file are kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
|
13
|
+
development:
|
14
|
+
secret_key_base: 5866741232a770ee82a877326a5636bb8a0b3644e641c250d7095ff3dbef7c07b84f42abbbbd19b43ae3e2f3f69a36b325430f089d01ee760b9eb4792411ca78
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: 44ab1cf914eb7dee87c4650fc1de96012ea95c5cb11f9a79e99e0a55eada680fbfac8002c3909bfc4ed75b9ba78fb1123aa903615c0f8027749aae18df0185ac
|
18
|
+
|
19
|
+
# Do not keep production secrets in the repository,
|
20
|
+
# instead read values from the environment.
|
21
|
+
production:
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 20160222045238) do
|
15
|
+
|
16
|
+
create_table "books", force: :cascade do |t|
|
17
|
+
t.string "name"
|
18
|
+
t.date "publish_date"
|
19
|
+
t.datetime "created_at", null: false
|
20
|
+
t.datetime "updated_at", null: false
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
File without changes
|
File without changes
|
@@ -0,0 +1,327 @@
|
|
1
|
+
Assigning without_connection callback before checkin
|
2
|
+
Assigning without_connection callback after checkin
|
3
|
+
Assigning without_connection callback before checkout
|
4
|
+
Assigning without_connection callback after checkout
|
5
|
+
[5772 (active:0)]: Warming up 10 connections
|
6
|
+
[1m[36m (30.0ms)[0m [1mSELECT version()[0m
|
7
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
8
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
9
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
10
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
11
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
12
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
13
|
+
[1m[35m (2.0ms)[0m SELECT version()
|
14
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
15
|
+
[1m[35m (0.0ms)[0m SELECT version()
|
16
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
17
|
+
----------------------------------
|
18
|
+
AdvancedConnectionTest: test_truth
|
19
|
+
----------------------------------
|
20
|
+
Assigning without_connection callback before checkin
|
21
|
+
Assigning without_connection callback after checkin
|
22
|
+
Assigning without_connection callback before checkout
|
23
|
+
Assigning without_connection callback after checkout
|
24
|
+
[6086 (active:0)]: Warming up 10 connections
|
25
|
+
[1m[36m (27.0ms)[0m [1mSELECT version()[0m
|
26
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
27
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
28
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
29
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
30
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
31
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
32
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
33
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
34
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
35
|
+
Assigning without_connection callback before checkin
|
36
|
+
Assigning without_connection callback after checkin
|
37
|
+
Assigning without_connection callback before checkout
|
38
|
+
Assigning without_connection callback after checkout
|
39
|
+
[6086 (active:0)]: Warming up 10 connections
|
40
|
+
[1m[36m (30.0ms)[0m [1mSELECT version()[0m
|
41
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
42
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
43
|
+
[1m[35m (9.0ms)[0m SELECT version()
|
44
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
45
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
46
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
47
|
+
[1m[35m (2.0ms)[0m SELECT version()
|
48
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
49
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
50
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
51
|
+
Assigning without_connection callback before checkin
|
52
|
+
Assigning without_connection callback after checkin
|
53
|
+
Assigning without_connection callback before checkout
|
54
|
+
Assigning without_connection callback after checkout
|
55
|
+
[6086 (active:0)]: Warming up 10 connections
|
56
|
+
[1m[36m (40.0ms)[0m [1mSELECT version()[0m
|
57
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
58
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
59
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
60
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
61
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
62
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
63
|
+
[1m[35m (2.0ms)[0m SELECT version()
|
64
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
65
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
66
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
67
|
+
Assigning without_connection callback before checkin
|
68
|
+
Assigning without_connection callback after checkin
|
69
|
+
Assigning without_connection callback before checkout
|
70
|
+
Assigning without_connection callback after checkout
|
71
|
+
[6086 (active:0)]: Warming up 10 connections
|
72
|
+
[1m[36m (33.0ms)[0m [1mSELECT version()[0m
|
73
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
74
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
75
|
+
[1m[35m (2.0ms)[0m SELECT version()
|
76
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
77
|
+
[1m[35m (0.0ms)[0m SELECT version()
|
78
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
79
|
+
[1m[35m (2.0ms)[0m SELECT version()
|
80
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
81
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
82
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
83
|
+
Assigning without_connection callback before checkin
|
84
|
+
Assigning without_connection callback after checkin
|
85
|
+
Assigning without_connection callback before checkout
|
86
|
+
Assigning without_connection callback after checkout
|
87
|
+
[6086 (active:0)]: Warming up 10 connections
|
88
|
+
[1m[36m (39.0ms)[0m [1mSELECT version()[0m
|
89
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
90
|
+
[1m[36m (2.0ms)[0m [1mSELECT version()[0m
|
91
|
+
[1m[35m (13.0ms)[0m SELECT version()
|
92
|
+
[1m[36m (2.0ms)[0m [1mSELECT version()[0m
|
93
|
+
[1m[35m (2.0ms)[0m SELECT version()
|
94
|
+
[1m[36m (2.0ms)[0m [1mSELECT version()[0m
|
95
|
+
[1m[35m (2.0ms)[0m SELECT version()
|
96
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
97
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
98
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
99
|
+
Assigning without_connection callback before checkin
|
100
|
+
Assigning without_connection callback after checkin
|
101
|
+
Assigning without_connection callback before checkout
|
102
|
+
Assigning without_connection callback after checkout
|
103
|
+
[6086 (active:0)]: Warming up 10 connections
|
104
|
+
[1m[36m (25.0ms)[0m [1mSELECT version()[0m
|
105
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
106
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
107
|
+
[1m[35m (10.0ms)[0m SELECT version()
|
108
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
109
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
110
|
+
[1m[36m (0.0ms)[0m [1mSELECT version()[0m
|
111
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
112
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
113
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
114
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
115
|
+
Assigning without_connection callback before checkin
|
116
|
+
Assigning without_connection callback after checkin
|
117
|
+
Assigning without_connection callback before checkout
|
118
|
+
Assigning without_connection callback after checkout
|
119
|
+
[6086 (active:0)]: Warming up 10 connections
|
120
|
+
[1m[36m (45.0ms)[0m [1mSELECT version()[0m
|
121
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
122
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
123
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
124
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
125
|
+
[1m[35m (2.0ms)[0m SELECT version()
|
126
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
127
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
128
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
129
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
130
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
131
|
+
Assigning without_connection callback before checkin
|
132
|
+
Assigning without_connection callback after checkin
|
133
|
+
Assigning without_connection callback before checkout
|
134
|
+
Assigning without_connection callback after checkout
|
135
|
+
[6202 (active:0)]: Warming up 10 connections
|
136
|
+
[1m[36m (44.0ms)[0m [1mSELECT version()[0m
|
137
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
138
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
139
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
140
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
141
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
142
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
143
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
144
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
145
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
146
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
147
|
+
Assigning without_connection callback before checkin
|
148
|
+
Assigning without_connection callback after checkin
|
149
|
+
Assigning without_connection callback before checkout
|
150
|
+
Assigning without_connection callback after checkout
|
151
|
+
[6202 (active:0)]: Warming up 10 connections
|
152
|
+
[1m[36m (28.0ms)[0m [1mSELECT version()[0m
|
153
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
154
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
155
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
156
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
157
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
158
|
+
[1m[36m (0.0ms)[0m [1mSELECT version()[0m
|
159
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
160
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
161
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
162
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
163
|
+
Assigning without_connection callback before checkin
|
164
|
+
Assigning without_connection callback after checkin
|
165
|
+
Assigning without_connection callback before checkout
|
166
|
+
Assigning without_connection callback after checkout
|
167
|
+
[6202 (active:0)]: Warming up 10 connections
|
168
|
+
[1m[36m (27.0ms)[0m [1mSELECT version()[0m
|
169
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
170
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
171
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
172
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
173
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
174
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
175
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
176
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
177
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
178
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
179
|
+
[6202 (active:1)]: Warming up 5 connections
|
180
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
181
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
182
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
183
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
184
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
185
|
+
Assigning without_connection callback before checkin
|
186
|
+
Assigning without_connection callback after checkin
|
187
|
+
Assigning without_connection callback before checkout
|
188
|
+
Assigning without_connection callback after checkout
|
189
|
+
[6202 (active:0)]: Warming up 10 connections
|
190
|
+
[1m[36m (35.0ms)[0m [1mSELECT version()[0m
|
191
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
192
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
193
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
194
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
195
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
196
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
197
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
198
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
199
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
200
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
201
|
+
[6202 (active:1)]: Warming up 5 connections
|
202
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
203
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
204
|
+
[1m[35m (2.0ms)[0m SELECT version()
|
205
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
206
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
207
|
+
Assigning without_connection callback before checkin
|
208
|
+
Assigning without_connection callback after checkin
|
209
|
+
Assigning without_connection callback before checkout
|
210
|
+
Assigning without_connection callback after checkout
|
211
|
+
[6202 (active:0)]: Warming up 10 connections
|
212
|
+
[1m[36m (27.0ms)[0m [1mSELECT version()[0m
|
213
|
+
[1m[35m (0.0ms)[0m SELECT version()
|
214
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
215
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
216
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
217
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
218
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
219
|
+
[1m[35m (2.0ms)[0m SELECT version()
|
220
|
+
[1m[36m (2.0ms)[0m [1mSELECT version()[0m
|
221
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
222
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
223
|
+
[6202 (active:0)]: Warming up 5 connections
|
224
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
225
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
226
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
227
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
228
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
229
|
+
Assigning without_connection callback before checkin
|
230
|
+
Assigning without_connection callback after checkin
|
231
|
+
Assigning without_connection callback before checkout
|
232
|
+
Assigning without_connection callback after checkout
|
233
|
+
[6202 (active:0)]: Warming up 10 connections
|
234
|
+
[1m[36m (40.0ms)[0m [1mSELECT version()[0m
|
235
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
236
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
237
|
+
[1m[35m (2.0ms)[0m SELECT version()
|
238
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
239
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
240
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
241
|
+
[1m[35m (2.0ms)[0m SELECT version()
|
242
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
243
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
244
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
245
|
+
[6202 (active:0)]: Warming up 16 connections
|
246
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
247
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
248
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
249
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
250
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
251
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
252
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
253
|
+
[1m[36m (0.0ms)[0m [1mSELECT version()[0m
|
254
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
255
|
+
[1m[36m (0.0ms)[0m [1mSELECT version()[0m
|
256
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
257
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
258
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
259
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
260
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
261
|
+
[1m[36m (2.0ms)[0m [1mSELECT version()[0m
|
262
|
+
Assigning without_connection callback before checkin
|
263
|
+
Assigning without_connection callback after checkin
|
264
|
+
Assigning without_connection callback before checkout
|
265
|
+
Assigning without_connection callback after checkout
|
266
|
+
[6202 (active:0)]: Warming up 10 connections
|
267
|
+
[1m[36m (27.0ms)[0m [1mSELECT version()[0m
|
268
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
269
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
270
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
271
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
272
|
+
[1m[35m (0.0ms)[0m SELECT version()
|
273
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
274
|
+
[1m[35m (2.0ms)[0m SELECT version()
|
275
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
276
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
277
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
278
|
+
[6202 (active:0)]: Warming up 5 connections
|
279
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
280
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
281
|
+
[1m[35m (2.0ms)[0m SELECT version()
|
282
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
283
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
284
|
+
Assigning without_connection callback before checkin
|
285
|
+
Assigning without_connection callback after checkin
|
286
|
+
Assigning without_connection callback before checkout
|
287
|
+
Assigning without_connection callback after checkout
|
288
|
+
[6202 (active:0)]: Warming up 10 connections
|
289
|
+
[1m[36m (29.0ms)[0m [1mSELECT version()[0m
|
290
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
291
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
292
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
293
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
294
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
295
|
+
[1m[36m (0.0ms)[0m [1mSELECT version()[0m
|
296
|
+
[1m[35m (2.0ms)[0m SELECT version()
|
297
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
298
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
299
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
300
|
+
[6202 (active:0)]: Warming up 5 connections
|
301
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
302
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
303
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
304
|
+
[1m[36m (0.0ms)[0m [1mSELECT version()[0m
|
305
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
306
|
+
Assigning without_connection callback before checkin
|
307
|
+
Assigning without_connection callback after checkin
|
308
|
+
Assigning without_connection callback before checkout
|
309
|
+
Assigning without_connection callback after checkout
|
310
|
+
[6202 (active:0)]: Warming up 10 connections
|
311
|
+
[1m[36m (27.0ms)[0m [1mSELECT version()[0m
|
312
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
313
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
314
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
315
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
316
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
317
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
318
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
319
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
320
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
321
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
322
|
+
[6202 (active:0)]: Warming up 5 connections
|
323
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
324
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
325
|
+
[1m[35m (1.0ms)[0m SELECT version()
|
326
|
+
[1m[36m (1.0ms)[0m [1mSELECT version()[0m
|
327
|
+
[1m[35m (1.0ms)[0m SELECT version()
|