Skip to content

Commit

Permalink
Allow the connection configuration to be modified per-thread
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Apr 14, 2016
1 parent d1c131f commit d4b7491
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/blacklight.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ def self.connection_config
end
end

def self.connection_config=(value)
Blacklight::RuntimeRegistry.connection_config = value
end

def self.blacklight_yml
require 'erb'
require 'yaml'
Expand Down

0 comments on commit d4b7491

Please sign in to comment.