mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-30 05:41:50 +02:00
refactor: update pool initialization to include pool key
This commit is contained in:
@@ -66,8 +66,8 @@ func NewEntrypoint(parent task.Parent, cfg *Config) *Entrypoint {
|
||||
cfg: cfg,
|
||||
findRouteFunc: findRouteAnyDomain,
|
||||
shortLinkMatcher: newShortLinkMatcher(),
|
||||
streamRoutes: pool.New[types.StreamRoute]("stream_routes"),
|
||||
excludedRoutes: pool.New[types.Route]("excluded_routes"),
|
||||
streamRoutes: pool.New[types.StreamRoute]("stream_routes", "stream_routes"),
|
||||
excludedRoutes: pool.New[types.Route]("excluded_routes", "excluded_routes"),
|
||||
servers: xsync.NewMap[string, *httpServer](),
|
||||
}
|
||||
return ep
|
||||
|
||||
Reference in New Issue
Block a user