mylofi/local-vault

fix concurrent race conditions

Open

#7 opened on Jul 5, 2025

View on GitHub
 (0 comments) (0 reactions) (1 assignee)JavaScript (4 forks)github user discovery
buggood first issuehelp wanted

Repository metrics

Stars
 (123 stars)
PR merge metrics
 (PR metrics pending)

Description

While it's a small chance, race conditions do exist in that two set() calls concurrently could clobber each other.

Fix is to use a mutex, like Locker.

Contributor guide