lib/tako.rb in tako-0.3.0 vs lib/tako.rb in tako-0.3.1
- old
+ new
@@ -21,9 +21,10 @@
raise "gimme a block!"
end
end
def load_connections_from_yaml
+ Tako::Repository.clear
(config[env] || []).each do |shard_name, conf|
Tako::Repository.add(shard_name, conf)
end
end