chrisbillows / raindrop-todoist-syncer

Converts favourited Raindrops into tasks in Todoist.
2 stars 1 forks source link

Implement lock file logic to prevent concurrent writes #9

Open chrisbillows opened 9 months ago

chrisbillows commented 9 months ago

Add a lock file protocol to check if a previous instance of the programme is already running

Avoids the possibility of concurrent writes to the database e.g. write errors and flakiness in ensuring all raindrops are correctly parsed.