Remote Ruby cover image

Hmmm, Maybe It's The Garbage Collector

Remote Ruby

00:00

How to Clean Up a Temp File After a Deployment

The only reason it came to mind was like, I know it's a temp file and I don't want to accidentally fill my desk with old files that we don't need anymore. That was really the only reason why I realized how do we make sure this file gets cleaned up after it's used. And so we can like run a deployment. If the file is still there, then we know it didn't clean up properly. But if it wasn't, that's good. Or we might run it in the file still exists, but I can just trigger GC dot start and the file disappears. So then I know that even if it's not immediately cleaned up, it will be cleaned

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app