For each .rain file which is being accessed, create a new .rain.lock file that is destroyed after the batch has completed. This is to avoid accidentally running 2 workers on a single file. Maybe it woj't cause issues, but I'd need to look at documentation of mmap().
For each
.rainfile which is being accessed, create a new.rain.lockfile that is destroyed after the batch has completed. This is to avoid accidentally running 2 workers on a single file. Maybe it woj't cause issues, but I'd need to look at documentation ofmmap().