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

FunctionClauseError in Registry.keys/2 #1060

Closed
whatyouhide opened this issue Mar 26, 2024 · 2 comments
Closed

FunctionClauseError in Registry.keys/2 #1060

whatyouhide opened this issue Mar 26, 2024 · 2 comments
Assignees
Labels
area:met Related to Oban Met kind:bug Something isn't working

Comments

@whatyouhide
Copy link
Contributor

Environment

  • PostgreSQL Version: 13.2
  • Elixir: 1.16.1 (compiled with Erlang/OTP 26)
  • Erlang: 26.0.2
  • Oban:

CleanShot 2024-03-26 at 13 09 40@2x

Current Behavior

We got a few FunctionClauseErrors whose stacktrace is completely Oban. We might be doing something wrong, but I thought I'd check in anyway 😉

Here is the stacktrace:

CleanShot 2024-03-26 at 13 11 06@2x

@sorentwo
Copy link
Member

Did this happen during shutdown? The issue is that Oban.Met is linked to the Oban supervisor process, but it doesn't stop quickly enough. You can avoid this by adding Oban.Met to the list of plugins and disabling auto-start with config :oban_met, auto_start: false.

We'll look at a better way to handle linked shutdown.

@sorentwo sorentwo added kind:bug Something isn't working area:met Related to Oban Met labels Mar 26, 2024
@sorentwo sorentwo self-assigned this Mar 26, 2024
@whatyouhide
Copy link
Contributor Author

Fantastic @sorentwo thank you! Lookinng forward to a release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:met Related to Oban Met kind:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants