bfe icon indicating copy to clipboard operation
bfe copied to clipboard

Maybe can use sync.RWMutex to replace sync.Mutex in these scenarios

Open songoow opened this issue 5 years ago • 2 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Not a problem

Describe the solution you'd like A clear and concise description of what you want to happen. Use sync.RWMutex

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. Performance improve

Additional context Add any other context or screenshots about the feature request here. https://github.com/bfenetworks/bfe/blob/develop/bfe_util/ipdict/iptable.go#L25 https://github.com/bfenetworks/bfe/blob/develop/bfe_basic/session.go#L56

songoow avatar Oct 26 '21 13:10 songoow

Thanks for your contribution!

iyangsj avatar Oct 27 '21 03:10 iyangsj

#872 merged

iyangsj avatar Oct 27 '21 03:10 iyangsj