MCPcopy Create free account
hub / github.com/actiontech/dtle / AddBigTxJob

Function AddBigTxJob

g/g.go:162–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160}
161
162func AddBigTxJob() {
163 nv := atomic.AddInt32(&bigTxJobs, 1)
164 if nv >= BigTxMaxJobs {
165 Logger.Debug("big tx job number reaches max", "jobs", nv, "max", BigTxMaxJobs)
166 }
167}
168func SubBigTxJob() {
169 nv := atomic.AddInt32(&bigTxJobs, -1)
170 if nv == BigTxMaxJobs - 1 {

Callers 1

sendEntryMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected