Is REST V3 / GraphQL v4 query real-time? #24565
-
I suspect that both are not real-time but somehow cached. Let me elaborate a little bit: Thus lead to the question above. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
There is a similar case https://github.community/t5/GitHub-API-Development-and/Some-webhooks-events-are-published-and-received-before-being/m-p/27397#M2257 |
Beta Was this translation helpful? Give feedback.
-
Hi @louisluhao, Thanks for writing in about this, I’m sharing the reply from our support team as it might be helpful to another user with a similar concern. In the meantime, we’re looking forward to seeing you around! “API queries should be real time. However, it sounds like there was a required background job needed to update the |
Beta Was this translation helpful? Give feedback.
Hi @louisluhao,
Thanks for writing in about this, I’m sharing the reply from our support team as it might be helpful to another user with a similar concern. In the meantime, we’re looking forward to seeing you around!
“API queries should be real time. However, it sounds like there was a required background job needed to update the
merge_commit_sha
and you happen to run the query before it was completed. Therefore you were unable to obtain the data, but when you added thesleep
, the job was finished and gave you a response.”