Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/couchbase/sync_gateway
/ AddAndWait
Method
AddAndWait
db/util_testing.go:136–139 ·
view source on GitHub ↗
(count int)
Source
from the content-addressed store, hash-verified
134
}
135
136
func
(sw *StatWaiter) AddAndWait(count int) {
137
sw.targetCount += int64(count)
138
sw.Wait()
139
}
140
141
// Wait uses backoff retry for up to ~33s
142
func
(sw *StatWaiter) Wait() {
Callers
15
TestChangeWaiterExitOnChangesTermination
Function · 0.95
TestBlipSubChangesDocIDFilter
Function · 0.80
TestChangesAccessNotifyInteger
Function · 0.80
postChangesSince
Function · 0.80
postChangesChannelFilter
Function · 0.80
TestPostChangesAdminChannelGrant
Function · 0.80
TestPostChangesAdminChannelGrantRemoval
Function · 0.80
TestPostChangesAdminChannelGrantRemovalWithLimit
Function · 0.80
TestChangesFromCompoundSinceViaDocGrant
Function · 0.80
TestChangesViewBackfill
Function · 0.80
TestChangesQueryBackfillWithLimit
Function · 0.80
TestMultichannelChangesQueryBackfillWithLimit
Function · 0.80
Calls
1
Wait
Method · 0.95
Tested by
15
TestChangeWaiterExitOnChangesTermination
Function · 0.76
TestBlipSubChangesDocIDFilter
Function · 0.64
TestChangesAccessNotifyInteger
Function · 0.64
postChangesSince
Function · 0.64
postChangesChannelFilter
Function · 0.64
TestPostChangesAdminChannelGrant
Function · 0.64
TestPostChangesAdminChannelGrantRemoval
Function · 0.64
TestPostChangesAdminChannelGrantRemovalWithLimit
Function · 0.64
TestChangesFromCompoundSinceViaDocGrant
Function · 0.64
TestChangesViewBackfill
Function · 0.64
TestChangesQueryBackfillWithLimit
Function · 0.64
TestMultichannelChangesQueryBackfillWithLimit
Function · 0.64