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

refactor(services/gdrive): Extract folder search logic #3234

Merged
merged 7 commits into from
Oct 16, 2023
Merged

Conversation

Xuanwo
Copy link
Member

@Xuanwo Xuanwo commented Oct 7, 2023

No description provided.

Copy link
Member

@suyanhanx suyanhanx left a comment

Choose a reason for hiding this comment

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

Thanks for the improvement.

@Xuanwo
Copy link
Member Author

Xuanwo commented Oct 7, 2023

Maybe it's better to extract the path cache logic out of gdrive for better understanding and test. I reverted all changes to cache logic and leave them to another PR.

@Xuanwo
Copy link
Member Author

Xuanwo commented Oct 7, 2023

test_blocking_copy_file always failed in CI but can't reproduce locally, I'm digging.

Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
@Xuanwo Xuanwo changed the title refactor(services/gdrive): Use moka instead of Arc<Mutex<HashMap>> refactor(services/gdrive): Extract folder search logic Oct 16, 2023
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
@Xuanwo Xuanwo merged commit 9b9230c into main Oct 16, 2023
36 checks passed
@Xuanwo Xuanwo deleted the polish-gdrive branch October 16, 2023 08:52
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.

4 participants