lib/fulmar/infrastructure/model/transfer/base.rb in fulmar-2.2.4 vs lib/fulmar/infrastructure/model/transfer/base.rb in fulmar-2.2.5
- old
+ new
@@ -51,9 +51,10 @@
# Generate a hash over all relevant config values to allow more precise caching
def self.config_hash(config)
id_string = self.class.to_s
id_string << DEFAULT_CONFIG.keys.map { |key| config[key].to_s }.join('-')
+ id_string << config[:hostname]
Digest::SHA256.hexdigest id_string
end
end
end
end