2017-08-01 16:11:48 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-10-15 15:01:25 -04:00
|
|
|
require 'message_bus/distributed_cache'
|
2014-11-11 17:43:41 -05:00
|
|
|
|
2018-10-15 15:01:25 -04:00
|
|
|
class DistributedCache < MessageBus::DistributedCache
|
2017-10-20 04:39:31 -04:00
|
|
|
def initialize(key, manager: nil, namespace: true)
|
2018-10-15 15:01:25 -04:00
|
|
|
super(
|
|
|
|
key,
|
|
|
|
manager: manager,
|
|
|
|
namespace: namespace,
|
|
|
|
app_version: Discourse.git_version
|
|
|
|
)
|
2014-11-11 17:43:41 -05:00
|
|
|
end
|
|
|
|
end
|