sindresorhus/conf

Support using a Conf store from multiple processes

Open

#146 aperta il 11 mar 2021

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)TypeScript (138 fork)user submission
enhancementhelp wanted

Metriche repository

Star
 (1340 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor