Comment on A Celery-like Python Task Queue in 55 Lines of CodeparentComments−jessaustin12yIn a similar situation, I've used inotify to watch things just get dumped on the disk. It's a hack, because race conditions, but sometimes that's OK.−mborch12yYou could use mutex locking on the file system to avoid the race conditions.
Comments
In a similar situation, I've used inotify to watch things just get dumped on the disk. It's a hack, because race conditions, but sometimes that's OK.
You could use mutex locking on the file system to avoid the race conditions.