gristlabs_grist-core/app
Alex Hall 4a70283292 (core) Webhook event queue on redis
Summary:
Push webhook events to redis queue with key based on docId.

Remove events from redis after sending using LTRIM.

Put failed events back on the end of the queue under normal circumstances.

When the event queue gets too long:
- Wait until it gets consumed before continuing.
- Drop failed events (i.e. don't put them back on the end of the queue)
- Limit webhook retries to 5

Test Plan: Tested that interactions with redis are as expected using redis MONITOR command.

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D3100
2021-11-03 22:43:35 +02:00
..
client (core) Adding sort options for columns. 2021-11-03 15:31:39 +01:00
common (core) Change timezone abbreviation parsing 2021-11-03 16:40:41 +02:00
gen-server (core) fix bug where sharing doc with everyone@ as viewer made it unlisted for site viewers 2021-10-28 12:48:31 -04:00
plugin (core) Adding schema validation for records endpoint 2021-10-18 21:40:50 +02:00
server (core) Webhook event queue on redis 2021-11-03 22:43:35 +02:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00