Rarasinhoo commented on PR #11926: URL: https://github.com/apache/nifi/pull/11926#issuecomment-6951905890
End-to-end check with a NiFi build carrying this change (GitHub client through a counting proxy, sync interval 1 min), importing two trees from the production-shaped test repository: 56 versioned Process Groups, nested up to 6 levels. - First synchronization after the import: one read of the flow and of its version for each group, filling the cache. - The next three synchronizations: only head checks, all answered `304 Not Modified` (222 requests in total, none counted against the rate limit), and no content or commit reads. - A commit pushed to the repository outside NiFi, changing one top-level flow: the next synchronization compared the two heads (one commit), read only the changed file, and marked that Process Group stale while the other stayed up to date. a9d87eda also logs a failed comparison of branch heads at debug level instead of dropping the cached values silently. Sequential conditional head checks against api.github.com from here took about 340 ms each, about 180 per minute, well below the secondary rate limit of 900 points per minute. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
