sindresorhus/conf

Support using a Conf store from multiple processes

Offen

#146 geöffnet am 11.03.2021

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (138 Forks)user submission
enhancementhelp wanted

Repository-Metriken

Stars
 (1.340 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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