Skip to content

Partially revert use of lsjson #562

Description

@JoeZiminski

In #551 rclone is now used for all searches. Unfrtouantely because rlcone is caleld through subprocess it is much slower, because spawning a new process is very slow.

There are two solutions, either:

  1. Revert back to using local filesystem search. This is okay but it is nice to use lsjson for everything because we only need to test once thing
  2. Spawn a process upfront with POpen and hold it on the datashuttle class to use for all rclone calls. This (should) be fast and allow us to use a single call for all file searches, but is trickier to manage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions