mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 12:15:09 -05:00
fix: don't set key cache if its location is not configured
This commit is contained in:
@@ -80,7 +80,8 @@ class Circuit:
|
||||
if configuration.use_insecure_key_cache:
|
||||
assert_that(configuration.enable_unsafe_features)
|
||||
location = CompilationConfiguration.insecure_key_cache_location()
|
||||
self._keyset_cache = KeySetCache.new(str(location))
|
||||
if location is not None:
|
||||
self._keyset_cache = KeySetCache.new(str(location))
|
||||
self._keyset = None
|
||||
|
||||
self._server_lambda = self._jit_support.load_server_lambda(self._compilation_result)
|
||||
|
||||
Reference in New Issue
Block a user