Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/syncthing/syncthing
/ lenQueued
Method
lenQueued
lib/model/queue.go:132–136 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
130
}
131
132
func
(q *jobQueue) lenQueued() int {
133
q.mut.Lock()
134
defer
q.mut.Unlock()
135
return
len(q.queued)
136
}
137
138
func
(q *jobQueue) lenProgress() int {
139
q.mut.Lock()
Callers
2
TestDeregisterOnFailInCopy
Function · 0.80
TestDeregisterOnFailInPull
Function · 0.80
Calls
1
Unlock
Method · 0.80
Tested by
2
TestDeregisterOnFailInCopy
Function · 0.64
TestDeregisterOnFailInPull
Function · 0.64