Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default query timeout configuration #188

Closed
slashdotdash opened this issue Dec 26, 2019 · 0 comments · Fixed by #189
Closed

Default query timeout configuration #188

slashdotdash opened this issue Dec 26, 2019 · 0 comments · Fixed by #189

Comments

@slashdotdash
Copy link
Member

By default a 15 second query timeout is used when no timeout option is passed to any event store function. This default should be configurable per event store module.

Configure when defining an event store:

defmodule MyApp.EventStore do
  use EventStore, 
    otp_app: :my_app, 
    timeout: 120_000
end

Or via config:

# config/config.exs
config :my_app, MyApp.EventStore, timeout: 120_000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant