gristlabs_grist-core/stubs/app/server
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
..
lib (core) add a tool for deleting a user 2021-09-29 12:08:23 -04:00
declarations.d.ts (core) Webhook event queue on redis 2021-11-03 22:43:35 +02:00
server.ts (core) clean up a collection of small problems affecting grist-core 2021-08-17 21:44:50 -04:00
tmp.d.ts (core) move home server into core 2020-07-21 20:39:10 -04:00