Skip to content

Conversation

@jonb377
Copy link
Collaborator

@jonb377 jonb377 commented Dec 7, 2023

This change adds a Python API to activate the persistent cache, rather than controlling it exclusively through environment variables.

@jonb377 jonb377 self-assigned this Dec 7, 2023
Copy link
Collaborator

@will-cromar will-cromar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I prefer the Python API to the environment variables. +1 to eliminating env vars as the way we communicate between Python and C++

Comment on lines +282 to +283
# TODO(jonbolin): Consider moving away from environment variables to control
# the cache.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea I think it is a good idea to just drop env var going forward.

@jonb377 jonb377 merged commit a01de39 into master Dec 7, 2023
@jonb377 jonb377 deleted the jonbolin/pc-doc branch December 7, 2023 21:55
@jonb377 jonb377 mentioned this pull request Dec 7, 2023
@yeounoh
Copy link
Contributor

yeounoh commented Dec 7, 2023

cc @zpcore for visibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants