npv: inverted resync logic and rate limiter