-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Live Events Accessible via /graphql But Missing in Database #1190
Comments
Thanks for opening. Can you clarify from where and when you're running SQL queries against the database? It sounds like this is running within an API function, correct? Did you notice this when using The GraphQL API is powered by SQL queries using the exact same database connection pool as the API function context, so this is strange. One idea - maybe there is some kind of caching going on at some point in the request cycle here? |
Running |
Hmm. Are you absolutely certain that these events are accessible via GraphQL? If they are not present when manually inspecting the database, my best guess is that this as an indexing / "missing events in realtime" bug. But if they are being returned from GraphQL, that's very puzzling. Regardless, to make more progress we'll likely need a minimal reproduction or access to your app so we can run it and try to reproduce. Please share here or reach out in Telegram DMs if sensitive. |
Problem
0.6.20
New Events: When new events come in while the Ponder server is running:
/graphql
endpoint.This leads to failures in API functions that depend on database lookups, as they cannot find the newly indexed events.
Expected Behavior
/graphql
endpoint but should also be written to the database as they come in.The text was updated successfully, but these errors were encountered: