Skip to content

Commit 62eae92

Browse files
committed
polish
1 parent f856352 commit 62eae92

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

lib/splitclient-rb/cache/repositories/rule_based_segments_repository.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,11 @@ class RuleBasedSegmentsRepository < Repository
2222
booleanMatcherData: nil,
2323
stringMatcherData: nil
2424
}]
25-
},
26-
label: "targeting rule type unsupported by sdk"
25+
}
2726
}]
2827

2928
def initialize(config)
3029
super(config)
31-
@tt_cache = {}
3230
@adapter = case @config.cache_adapter.class.to_s
3331
when 'SplitIoClient::Cache::Adapters::RedisAdapter'
3432
SplitIoClient::Cache::Adapters::CacheAdapter.new(@config)
@@ -79,8 +77,6 @@ def exists?(name)
7977
end
8078

8179
def clear
82-
@tt_cache.clear
83-
8480
@adapter.clear(namespace_key)
8581
end
8682

0 commit comments

Comments
 (0)