Continuously hitting the secondary rate limit even after following the best practices


In my application I am making authenticated requests to the GitHub search API with a token, I am making a request every 2s to stay within the primary rate limit (so not concurrently) and I am also validating requests remaining with the GitHub rate limit API.

Even in the rare case of accidental concurrent requests, they are not likely to be for the same token.

I seem to be following all the rules mentioned in the Primary and Secondary best practices documentation. Despite this my application keeps getting secondary rate limited and I have no idea why. Could you help me with why this may be happening?