Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TalkingData/owl
/ NewTaskPool
Function
NewTaskPool
controller/pool.go:21–23 ·
view source on GitHub ↗
(size int)
Source
from the content-addressed store, hash-verified
19
}
20
21
func
NewTaskPool(size int) *TaskPool {
22
return
&TaskPool{make(
chan
*types.AlarmTask, size)}
23
}
24
25
// func (this *TaskPool) PutTasks(items map[string]cache.Item) error {
26
// if len(this.tasks) != 0 {
Callers
1
InitController
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected