mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-20 18:55:40 +00:00
faefe6edc8
Dead-code sweep. Functions flagged unreachable by golang.org/x/tools/cmd/deadcode and confirmed unused across pulse, pulse-enterprise, pulse-pro and pulse-mobile by adversarial cross-repo verification. Cross-module reachability was checked explicitly (only pkg/ exported symbols are importable by other modules; internal/ packages and _test.go files are not). go build, go vet and test-compile all pass.
17 lines
353 B
Go
17 lines
353 B
Go
package api
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const (
|
|
reconcileInterval = 6 * time.Hour
|
|
staleSubscriptionState = 48 * time.Hour
|
|
)
|
|
|
|
// SubscriptionStateReconciler periodically scans subscription state and logs warnings for
|
|
// drift between expected and actual subscription states. Log-only for beta.
|
|
type SubscriptionStateReconciler struct {
|
|
dataDir string
|
|
}
|