Github user nickva commented on the issue: https://github.com/apache/couchdb-couch-replicator/pull/44 Thinking about a bit more, it is nicer to have a random sleep in a spawned process as opposed to sleep in-line in scanner, so let's keep that pattern. With an inline sleep it would be hard to reason about a maximum time scanner would run. With spawned processes max would be total time to traverse the fs + max of 1 minute.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---