mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
增大默认event队列大小
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
const DefaultEventChannelLen = 10000
|
const DefaultEventChannelLen = 1000000
|
||||||
|
|
||||||
//事件接受器
|
//事件接受器
|
||||||
type EventCallBack func(event IEvent)
|
type EventCallBack func(event IEvent)
|
||||||
|
|||||||
Reference in New Issue
Block a user