MCPcopy Index your code
hub / github.com/TruthHun/BookStack / addLoggerAsync

Function addLoggerAsync

models/logs.go:68–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66}
67
68func addLoggerAsync() {
69 defer atomic.AddInt32(&(loggerQueue.isRunning), -1)
70 o := orm.NewOrm()
71
72 for {
73 logger := <-loggerQueue.channel
74
75 o.Insert(logger)
76 }
77}

Callers 1

AddMethod · 0.85

Calls 1

InsertMethod · 0.45

Tested by

no test coverage detected