json-flatfile-datastore
json-flatfile-datastore copied to clipboard
No Timeout/Error on file inaccessibility
It looks like the package has no problem creating a new file in a directory on creation of the datastore object.
private static DataStore store = new DataStore($"{logLocation}\\{fileName}.json");
But if the modify permission is not given to that file on creation, the IDocumentCollection<Object>.InsertOne(Object)
does not seem to timeout or error.
Thanks for the bug report and sorry, that I forgot to ask more details earlier.
On which operating system the bug appeared?