AWS Thinkbox Discussion Forums

Should slave clean up temp dirs on exit?

Right now, if I create a temporary directory using DeadlinePlugin.CreateTempDirectory, it only gets cleaned up when a new job is picked up, but not when the slave process exits. I’m just curious if this behavior is intentional.

Yes, this is intentional. The slave only wipes its data folder when launching a new job, so when that slave is launched again, it will cleanup when it dequeues a new job.

Cheers,
Ryan

OK, I noticed that the data was getting cleaned up when the slave was re-launched and picked up a new job, but I just wanted to make sure.

Thanks.

Privacy | Site terms | Cookie preferences