node-localstorage icon indicating copy to clipboard operation
node-localstorage copied to clipboard

multiple Instances do not sync

Open NexusNull opened this issue 2 years ago • 2 comments

I'm running multiple instances of node-localstorage in the same directory from different processes, the problem is that when one instance creates an entry, this entry doesn't appear on the other instances. That's why I would like to request some sort of syncing feature that updates the _keys periodically a function that can be called to sync _keys with the filesystem.

NexusNull avatar Sep 06 '21 18:09 NexusNull

I would gladly accept a pull request to achieve this. It seems like a good feature.

lmaccherone avatar Nov 25 '21 13:11 lmaccherone

Oh, I just came back to this. I have it working on my branch, would probably only take a pull.

NexusNull avatar Jan 17 '22 17:01 NexusNull