这是indexloc提供的服务,不要输入任何密码
Skip to content

Event trigger webhooks are not runned concurrently #5189

@MichalKalita

Description

@MichalKalita

I have insert event in table. It call webhook and response is in 10s. Actually webhooks are called sequential. But I want to call it concurrently. How to do it?

I am not sure if this behavior is bug in Hasura/heroku or some Hasura feature and how to change it.

Steps to reproduce:

  1. Start webhook https://github.com/MichalKalita/test-delayed-webhook/ or use deployed version on heroku https://protected-castle-19380.herokuapp.com/ - this webhook just wait 10 seconds and response with status ok
  2. Setup insert event trigger to webhook
  3. Insert multiple rows to trigger webhook.
  4. Looks to pending events in hasura console

Actual behavior:
After 10s 1 pending event is done. It is not runningconcurrently.

Expected behavior:
Run all webhooks in same time. All should be done in 10 seconds

Can be reproduced on v1.3.0-beta.1, v1.3.0-beta.2

It cannot be reproduced on v1.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    c/serverRelated to serverk/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions