mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 18:42:30 +03:00
e32f5a1fb1
1. Haskel library `pg-client-hs` has been updated to expose a function that helps listen to `postgres` notifications over a `channel` in this [PR](https://github.com/hasura/pg-client-hs/pull/5) 2. The server records an event in a table `hdb_catalog.hdb_cache_update_event` whenever any `/v1/query` (that changes metadata) is requested. A trigger notifies a `cache update` event via `hasura_cache_update` channel 3. The server runs two concurrent threads namely `listener` and `processor`. The `listener` thread listens to events on `hasura_cache_update` channel and pushed into a `Queue`. The `processor` thread fetches events from that `Queue` and processes it. Thus server rebuilds schema cache from database and updates. |
||
---|---|---|
.. | ||
pgbouncer | ||
server-upgrade | ||
build-docker-image.sh | ||
ciignore.sh | ||
cli-builder.dockerfile | ||
config.yml | ||
console-builder.dockerfile | ||
deploy.sh | ||
deployer.dockerfile | ||
release_notes.template.md | ||
server-builder.dockerfile | ||
test-cli-with-last-release.sh | ||
test-cli.sh | ||
test-console.sh | ||
test-deprecated-server-flags.sh | ||
test-server-flags.sh | ||
test-server.sh |