tka: keep the CompactionDefaults alongside the other limits
Updates #cleanup Change-Id: Ib5e481d5a9c7ec7ac3e6b3913909ab1bf21d7a4d Signed-off-by: Alex Chan <alexc@tailscale.com>
This commit is contained in:
@@ -8,6 +8,7 @@ package tka
|
||||
import (
|
||||
"crypto/ed25519"
|
||||
"errors"
|
||||
"time"
|
||||
|
||||
"tailscale.com/types/key"
|
||||
"tailscale.com/types/logger"
|
||||
@@ -158,3 +159,8 @@ func SignByCredential(privKey []byte, wrapped *NodeKeySignature, nodeKey key.Nod
|
||||
}
|
||||
|
||||
func (s NodeKeySignature) String() string { return "" }
|
||||
|
||||
type CompactionOptions struct {
|
||||
MinChain int
|
||||
MinAge time.Duration
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user