Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TINKERPOP-2138 Provide way to disable the global function cache #1046

Merged
merged 1 commit into from
Jan 29, 2019

Conversation

spmallette
Copy link
Contributor

https://issues.apache.org/jira/browse/TINKERPOP-2138

Added a new globalFunctionCacheEnabled configuration to the GroovyCompilerGremlinPlugin and an overriding setting for sessions on SessionOpProcessor that disables the global function cache. In cases where you don't need the cache (i.e. don't use global functions) it does remove a bit of reflection based processing from every single script request and obviously saves on memory formerly used by the cache.

All tests pass with docker/build.sh -t -n -i

VOTE +1

@dkuppitz
Copy link
Contributor

LGTM.

VOTE +1

@jorgebay
Copy link
Contributor

Makes sense, VOTE +1

@spmallette spmallette merged commit 197188e into tp33 Jan 29, 2019
@spmallette spmallette deleted the TINKERPOP-2138 branch January 29, 2019 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants