github.com/unicornultrafoundation/go-u2u@v1.0.0-rc1.0.20240205080301-e74a83d3fadc/eventcheck/heavycheck/config.go (about) 1 package heavycheck 2 3 type Config struct { 4 MaxQueuedTasks int // the maximum number of tasks to queue up 5 Threads int 6 } 7 8 func DefaultConfig() Config { 9 return Config{ 10 MaxQueuedTasks: 1024, 11 Threads: 0, 12 } 13 }