mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-10-05 07:56:52 +08:00
ignore context paramenter in Subscribe receiver function in PubSub struct
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -38,7 +38,7 @@ func NewPubSub() *PubSub {
|
||||
}
|
||||
}
|
||||
|
||||
func (ps *PubSub) Subscribe(ctx context.Context, conn *net.Conn, channels []string, withPattern bool) {
|
||||
func (ps *PubSub) Subscribe(_ context.Context, conn *net.Conn, channels []string, withPattern bool) {
|
||||
ps.channelsRWMut.Lock()
|
||||
defer ps.channelsRWMut.Unlock()
|
||||
|
||||
|
Reference in New Issue
Block a user