sindresorhus/conf

Support using a Conf store from multiple processes

Open

#146 创建于 2021年3月11日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)TypeScript (1,340 star) (138 fork)user submission
enhancementhelp wanted

描述

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.

贡献者指南