- remove useless routinepool
This commit is contained in:
@@ -1,15 +0,0 @@
|
|||||||
package legacy
|
|
||||||
|
|
||||||
import (
|
|
||||||
"git.rosy.net.cn/baseapi/utils/routinepool"
|
|
||||||
"github.com/astaxie/beego"
|
|
||||||
)
|
|
||||||
|
|
||||||
var (
|
|
||||||
RoutinePool *routinepool.Pool
|
|
||||||
)
|
|
||||||
|
|
||||||
func init() {
|
|
||||||
routinePoolSize := beego.AppConfig.DefaultInt("routinePoolSize", 0)
|
|
||||||
RoutinePool = routinepool.New(routinePoolSize, routinePoolSize)
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user