How frequently does the GraphQL API update? #2992
Replies: 4 comments 9 replies
-
Hey, that's correct there is a 10 min lag when querying an active proposal using GraphQL, to fetch fresh data you must use snapshot.js. https://docs.snapshot.org/snapshot.js |
Beta Was this translation helpful? Give feedback.
-
ok cool, thanks for the responses! I'll probably do some sort of solution with firebase, for now, that keeps track of the vote counts in real-time and syncs with the API. |
Beta Was this translation helpful? Give feedback.
-
Gooood |
Beta Was this translation helpful? Give feedback.
-
thx |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When casting a vote on a proposal, the single proposal API response doesn't get updated immediately and the "scores_updated" in the response doesn't seem to have a predictable cadence.
Beta Was this translation helpful? Give feedback.
All reactions