sindresorhus/conf

Support using a Conf store from multiple processes

Open

#146 opened on Mar 11, 2021

View on GitHub
 (4 comments) (0 reactions) (0 assignees)TypeScript (1,340 stars) (138 forks)user submission
enhancementhelp wanted

Description

Currently if you have multiple processes using conf with the same storage location they can, and do, clobber each other's data.

e.g.

  1. p1 reads store
  2. p2 reads store
  3. p1 writes store
  4. p2 writes store (this clobbers p1's changes in step 3, even if the change was a totally different key)

Any suggestions on how to work around this?

I feel like this could warrant a big disclaimer in the readme.

Contributor guide