提交v2初始版本

This commit is contained in:
boyce
2024-04-09 16:40:13 +08:00
parent 96d02c8f71
commit 161a67c8a1
57 changed files with 123 additions and 123 deletions

View File

@@ -2,7 +2,7 @@ package event
import (
"fmt"
"github.com/duanhf2012/origin/log"
"github.com/duanhf2012/origin/v2/log"
"runtime"
"sync"
)

View File

@@ -1,6 +1,6 @@
package event
import "github.com/duanhf2012/origin/util/sync"
import "github.com/duanhf2012/origin/v2/util/sync"
// eventPool的内存池,缓存Event
const defaultMaxEventChannelNum = 2000000