w3c/github_sync — pull request #5 by deniak (2014-05-29 05:12:26+00:00)
Title: create a lock file while the process is running to prevent race condition

A lock file is created while the request is being processed. If the lock is not released after 60s, break it and run the process as expected.

Not sure if we should break the lock after the timeout, but if for some reason, an error occurs and the lock is not released, it will stay there until someone manually deletes it.