mirror of
https://github.com/safing/portbase
synced 2025-09-16 01:59:51 +00:00
Add microtask queues and signaling
This commit is contained in:
parent
ce02b26ff5
commit
7fec4f5428
3 changed files with 331 additions and 114 deletions
|
@ -37,7 +37,7 @@ func Start() error {
|
|||
|
||||
// start microtask scheduler
|
||||
go microTaskScheduler()
|
||||
SetMaxConcurrentMicroTasks(runtime.GOMAXPROCS(0) * 2)
|
||||
SetMaxConcurrentMicroTasks(runtime.GOMAXPROCS(0))
|
||||
|
||||
// inter-link modules
|
||||
err := initDependencies()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue