mirror of
https://github.com/datarhei/core.git
synced 2025-10-05 07:57:13 +08:00
Fetch resources list in parallel
This commit is contained in:
@@ -45,10 +45,10 @@ type ClusterConfig struct {
|
||||
}
|
||||
|
||||
type cluster struct {
|
||||
nodes map[string]*node
|
||||
idfiles map[string][]string
|
||||
idupdate map[string]time.Time
|
||||
fileid map[string]string
|
||||
nodes map[string]*node // List of known nodes
|
||||
idfiles map[string][]string // Map from nodeid to list of files
|
||||
idupdate map[string]time.Time // Map from nodeid to time of last update
|
||||
fileid map[string]string // Map from file name to nodeid
|
||||
|
||||
limiter net.IPLimiter
|
||||
|
||||
|
Reference in New Issue
Block a user