Skip to content

Persist hooks to PG instead of Redis #225

@jerry-enebeli

Description

@jerry-enebeli

Describe the bug
Webhooks are being stored in Redis instead of a persistent database (PG). When Redis is restarted, all hooks created are lost, requiring them to be re-registered.

To Reproduce
Steps to reproduce the behavior:

  1. Configure and register webhooks in core(using the pre or post hook endpoint)
  2. Verify webhooks are working correctly
  3. Restart the Redis instance
  4. Attempt to use or view previously configured webhooks
  5. Observe that all webhook configurations have been lost

Expected behavior
Webhooks should persist across Redis restarts. They should be stored in a persistent database (PG) so that restarting Redis does not result in data loss.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions