Skip to content

Conversation

@subreme
Copy link
Contributor

@subreme subreme commented Jun 22, 2021

This Pull Request includes two minor changes, as shown by the two commits that form it.

The first change involves the introduction of a RWMutex in header.go, as @ShrimpAIO reported a Race Condition due to SortedKeyValues() and writeSubset() both trying to access the exclude map at the same time when running several tasks at once, resulting in a Fatal Error ("concurrent map read and map write").

The second change mainly involves the modification of README.md, formatting the document following Google's Markdown Style Guide. Additionally, the Note at the beginning of the file was commented out, as should only be used in @zMrKrabz's original repository. Finally, some spelling errors were corrected, including one pointed out by @0xflotus in this Open Pull Request.

subreme added 2 commits June 22, 2021 14:15
Added a RWMutex in in `header.go`, used in `writeSubset()` and
`SortedKeyValues()`, in order to avoid any conflicts in the `exclude`
map when several tasks are run, as suggested by @ShrimpAIO.
Fixed a couple typos in `README.md`, including the organization name in
the link to the new repository (as pointed out by @0xflotus).

Fixed the formatting in accordance with Google's Markdown Style Guide.

Commented out the note at the beginning of the document without deleting
it, as it is meant for the original repository owned by @zMrKrabz.
@gotsteez gotsteez merged commit 64f572f into useflyent:master Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants