Skip to content

Commit

Permalink
Merge pull request #625 from sennetconsortium/libpitt/606-grabbing-ac…
Browse files Browse the repository at this point in the history
…tivity-props

Correcting memcache use logic
  • Loading branch information
maxsibilla authored Feb 12, 2025
2 parents 5c6f227 + be78dba commit 95f813b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schema/schema_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ def get_complete_entity_result(token, entity_dict, properties_to_skip=[], is_inc

# Need both client and prefix when fetching the cache
# Do NOT fetch cache if properties_to_skip is specified or use_memcache is False
if _memcached_client and _memcached_prefix and (not properties_to_skip and not use_memcache):
if _memcached_client and _memcached_prefix and (not properties_to_skip and use_memcache):
cache_key = f'{_memcached_prefix}_complete_{entity_uuid}'
cache_result = _memcached_client.get(cache_key)

Expand Down

0 comments on commit 95f813b

Please sign in to comment.