We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f856352 commit 62eae92Copy full SHA for 62eae92
1 file changed
lib/splitclient-rb/cache/repositories/rule_based_segments_repository.rb
@@ -22,13 +22,11 @@ class RuleBasedSegmentsRepository < Repository
22
booleanMatcherData: nil,
23
stringMatcherData: nil
24
}]
25
- },
26
- label: "targeting rule type unsupported by sdk"
+ }
27
28
29
def initialize(config)
30
super(config)
31
- @tt_cache = {}
32
@adapter = case @config.cache_adapter.class.to_s
33
when 'SplitIoClient::Cache::Adapters::RedisAdapter'
34
SplitIoClient::Cache::Adapters::CacheAdapter.new(@config)
@@ -79,8 +77,6 @@ def exists?(name)
79
77
end
80
78
81
def clear
82
- @tt_cache.clear
83
-
84
@adapter.clear(namespace_key)
85
86
0 commit comments