bunch of qol (#2748)
This commit is contained in:
parent
1a7a2f4196
commit
8e25f7f9dd
11 changed files with 307 additions and 95 deletions
|
|
@ -24,6 +24,7 @@ type Batcher interface {
|
|||
ConnectedMap() *xsync.Map[types.NodeID, bool]
|
||||
AddWork(c change.ChangeSet)
|
||||
MapResponseFromChange(id types.NodeID, c change.ChangeSet) (*tailcfg.MapResponse, error)
|
||||
DebugMapResponses() (map[types.NodeID][]tailcfg.MapResponse, error)
|
||||
}
|
||||
|
||||
func NewBatcher(batchTime time.Duration, workers int, mapper *mapper) *LockFreeBatcher {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue