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

Reduce director calls for get_dirlist_url #47

Open
turetske opened this issue May 24, 2024 · 0 comments
Open

Reduce director calls for get_dirlist_url #47

turetske opened this issue May 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@turetske
Copy link
Collaborator

We have quite a few calls to the listing url that sometimes occur within the same overall call.

Such as when glob does a find on its allpaths list. When this occurs, it gets the goes through the call to the get the dirlist url. multiple times in order to run a find on all of its paths. We can assume that subdirectories of these have the same dirlist url.

I suggest implementing a caching of a dirlist url the same way we do with the cache. If the prefix matches, then try the same dirlist url rather than pulling a new one from the director.

@turetske turetske added the enhancement New feature or request label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant