mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-01 03:03:10 -06:00
Make linter happy
This commit is contained in:
parent
f6fda79b9a
commit
d799c35de8
|
|
@ -49,8 +49,8 @@ type RequestPool struct {
|
||||||
userAPI userapi.UserInternalAPI
|
userAPI userapi.UserInternalAPI
|
||||||
keyAPI keyapi.KeyInternalAPI
|
keyAPI keyapi.KeyInternalAPI
|
||||||
rsAPI roomserverAPI.RoomserverInternalAPI
|
rsAPI roomserverAPI.RoomserverInternalAPI
|
||||||
lastseen sync.Map
|
lastseen *sync.Map
|
||||||
presence sync.Map
|
presence *sync.Map
|
||||||
streams *streams.Streams
|
streams *streams.Streams
|
||||||
Notifier *notifier.Notifier
|
Notifier *notifier.Notifier
|
||||||
jetstream JetstreamPublisher
|
jetstream JetstreamPublisher
|
||||||
|
|
@ -74,8 +74,8 @@ func NewRequestPool(
|
||||||
userAPI: userAPI,
|
userAPI: userAPI,
|
||||||
keyAPI: keyAPI,
|
keyAPI: keyAPI,
|
||||||
rsAPI: rsAPI,
|
rsAPI: rsAPI,
|
||||||
lastseen: sync.Map{},
|
lastseen: &sync.Map{},
|
||||||
presence: sync.Map{},
|
presence: &sync.Map{},
|
||||||
streams: streams,
|
streams: streams,
|
||||||
Notifier: notifier,
|
Notifier: notifier,
|
||||||
jetstream: jetstream,
|
jetstream: jetstream,
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@ func TestRequestPool_updatePresence(t *testing.T) {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
rp := &RequestPool{
|
rp := &RequestPool{
|
||||||
presence: syncMap,
|
presence: &syncMap,
|
||||||
jetstream: publisher,
|
jetstream: publisher,
|
||||||
cfg: &config.SyncAPI{
|
cfg: &config.SyncAPI{
|
||||||
Matrix: &config.Global{
|
Matrix: &config.Global{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue