canvas-lms/config/initializers
Cody Cutrer 7f013973c3 reconnect redis on forking for switchman
fixes CNVS-15308

test plan:
 * have multiple shards
 * in console:
   Rails.cache.write('a', 'b')
   Shard.with_each_shard(parallel: 2) { Shard.default.activate { puts Rails.cache.fetch('a') } }
 * you should see a bunch of b's (one per shard), and no errors

Change-Id: I5ad7b3ae7d6c03005d229f04cf5bc2ee1e51b948
Reviewed-on: https://gerrit.instructure.com/40832
QA-Review: August Thornton <august@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2014-09-10 18:17:02 +00:00
..
action_pack.rb fix i18n for time zone dropdowns and profiles 2014-08-27 21:36:47 +00:00
active_model_errors.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
active_record.rb Make substring searches for courses more performant 2014-09-05 21:21:00 +00:00
adheres_to_policy.rb make permission_cache_key_for shard aware 2014-07-11 16:11:17 +00:00
authlogic_mods.rb begin rails 4 2014-08-27 23:09:17 +00:00
aws_sdk.rb disable aws-sdk gem logging 2013-04-25 16:30:31 +00:00
backtrace_silencers.rb start adding rails 3.0 support 2013-03-22 19:08:40 +00:00
barby.rb multi-factor authentication closes #9532 2012-08-16 13:09:07 -06:00
bookmarked_collection.rb extract bookmarked_collection gem 2014-04-17 18:16:13 +00:00
canvas_crummy.rb convert crummy plugin to proper gem 2014-01-30 18:30:15 +00:00
canvas_kaltura.rb canvas kaltura gem 2014-04-16 19:39:45 +00:00
canvas_sanitize.rb convert sanitize field plugin into proper gem: CanvasSanitize 2014-01-28 22:36:18 +00:00
canvas_security.rb start adding rails 3.0 support 2013-03-22 19:08:40 +00:00
canvas_statsd.rb split yaml file loading out of Setting 2014-05-21 18:27:06 +00:00
client_app_symlinks.rb client app: canvas_quiz_statistics 2014-08-19 20:09:21 +00:00
coffee_script_sourcemaps_symlinks.rb allow people to opt out of coffee source maps 2014-05-20 22:55:05 +00:00
delayed_job.rb clear shard and special account caches based on age 2014-08-26 20:29:55 +00:00
dropped_columns.rb drop notification_policies.broadcast 2014-08-18 19:27:05 +00:00
event_stream.rb fix audit records as they are queried 2014-08-16 01:53:45 +00:00
facebook.rb moved Facebook code into gem 2014-05-05 22:32:15 +00:00
folio.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
google_docs.rb split yaml file loading out of Setting 2014-05-21 18:27:06 +00:00
i18n.rb don't attempt to set the i18n scope if the template has no virtual path 2014-08-20 18:47:41 +00:00
icalendar.rb formatting for ICS calendar events 2012-07-02 11:05:48 -06:00
incoming_mail.rb split yaml file loading out of Setting 2014-05-21 18:27:06 +00:00
inflections.rb alerts, closes #4317 2011-08-24 10:19:44 -06:00
irb.rb log AR queries to script/console as well as the log file 2013-03-26 15:10:17 +00:00
json.rb begin rails 4 2014-08-27 23:09:17 +00:00
linked_in.rb split yaml file loading out of Setting 2014-05-21 18:27:06 +00:00
marginalia.rb split yaml file loading out of Setting 2014-05-21 18:27:06 +00:00
mime_types.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
net_ldap.rb add more detailed errors to ldap tester 2012-08-17 14:31:41 -06:00
oauth.rb add lti2 launch endpoint 2014-08-08 19:45:17 +00:00
outgoing_mail.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
plugin_symlinks.rb upgraded requirejs to 2.1.10 2014-03-10 22:27:53 +00:00
rack.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
rack_mini_profiler.rb initialize rack-mini-profiler for rails3 2014-09-08 21:27:46 +00:00
rails_patches.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
ruby_version_compat.rb begin rails 4 2014-08-27 23:09:17 +00:00
rubyzip.rb use rubyzip version 1.1.0 2014-03-12 12:20:22 +00:00
scribd_thumbnail.rb fix scribd initialization during boot 2013-10-30 16:41:04 +00:00
session_store.rb log unmarshalling errors in encrypted_cookie_store 2014-08-14 15:24:10 +00:00
shackles.rb don't use password from database.yml when overriding db user 2013-04-23 14:51:41 +00:00
sqlite_savepoint.rb make sure users and pseudonyms get added together 2011-06-14 10:46:54 -06:00
stubs.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
switchman.rb reconnect redis on forking for switchman 2014-09-10 18:17:02 +00:00
time.rb Move time related code into canvas_time gem 2014-04-14 20:47:01 +00:00
tour.rb added tour guide libs 2013-05-22 19:30:13 +00:00
twitter.rb split yaml file loading out of Setting 2014-05-21 18:27:06 +00:00