mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
Ignore more checklocks false positives.
This commit is contained in:
parent
d47c280d31
commit
5da3d601fe
3 changed files with 5 additions and 5 deletions
|
|
@ -293,7 +293,7 @@ type deadlockMonitorReceiver struct {
|
|||
monitor *Monitor // +checklocksignore: Only written to from constructor.
|
||||
|
||||
mu sync.RWMutex
|
||||
wg sync.WaitGroup
|
||||
wg sync.WaitGroup // +checklocksignore: Only written to from constructor.
|
||||
|
||||
// +checklocks:mu
|
||||
entry *MonitorEntry
|
||||
|
|
|
|||
|
|
@ -110,13 +110,13 @@ var (
|
|||
defaultFederationTimeoutSeconds = 10
|
||||
|
||||
// New connections have to send a "Hello" request after 2 seconds.
|
||||
initialHelloTimeout = 2 * time.Second
|
||||
initialHelloTimeout = 2 * time.Second // +checklocksignore: Global readonly variable.
|
||||
|
||||
// Anonymous clients have to join a room after 10 seconds.
|
||||
anonmyousJoinRoomTimeout = 10 * time.Second
|
||||
anonmyousJoinRoomTimeout = 10 * time.Second // +checklocksignore: Global readonly variable.
|
||||
|
||||
// Sessions expire 30 seconds after the connection closed.
|
||||
sessionExpireDuration = 30 * time.Second
|
||||
sessionExpireDuration = 30 * time.Second // +checklocksignore: Global readonly variable.
|
||||
|
||||
// Run housekeeping jobs once per second
|
||||
housekeepingInterval = time.Second
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ type configStatic struct {
|
|||
mu sync.Mutex
|
||||
proxy McuProxy
|
||||
|
||||
dnsMonitor *dns.Monitor
|
||||
dnsMonitor *dns.Monitor // +checklocksignore: Only written to from constructor.
|
||||
// +checklocks:mu
|
||||
dnsDiscovery bool
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue