Skip to content

log: share mutex in log handles with same writer and other fields#35074

Open
cuiweixie wants to merge 1 commit into
ethereum:masterfrom
cuiweixie:log-handler
Open

log: share mutex in log handles with same writer and other fields#35074
cuiweixie wants to merge 1 commit into
ethereum:masterfrom
cuiweixie:log-handler

Conversation

@cuiweixie

Copy link
Copy Markdown
Contributor

In old code, mu is struct not pointer, it caused create new mutex event with same writer.
change to use pointer to sync.Mutex, so that the mutex is shared between handler with same writer.

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