mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 10:23:45 +08:00
15 lines
310 B
Ruby
15 lines
310 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'message_bus/distributed_cache'
|
|
|
|
class DistributedCache < MessageBus::DistributedCache
|
|
def initialize(key, manager: nil, namespace: true)
|
|
super(
|
|
key,
|
|
manager: manager,
|
|
namespace: namespace,
|
|
app_version: Discourse.git_version
|
|
)
|
|
end
|
|
end
|