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

[PMPDD-72]: Fix warning on attaching an anonymous function to telemetry #116

Conversation

hizumisen
Copy link
Contributor

https://prima-assicurazioni-spa.myjetbrains.com/youtrack/issue/PMPDD-72

While I was upgrading dependencies on scrivania, I noticed the following warning

[info] The function passed as a handler with ID "repo-init-handler" is a local function.
This means that it is either an anonymous function or a capture of a function without a module specified. That may cause a performance penalty when calling that handler. For more details see the note in `telemetry:attach/4` documentation.

https://hexdocs.pm/telemetry/telemetry.html#attach/4

not a big problem, but I thought it would be nice to remove it from future versions.

@hizumisen hizumisen requested a review from a team as a code owner June 17, 2024 08:39
@hizumisen hizumisen changed the title [PMPDD-72]: Update scrivania dependencies to support MySQL 8.0 [PMPDD-72]: Fix warning on attaching an anonymous function to telemetry Jun 17, 2024
Copy link
Contributor

@cpiemontese cpiemontese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🙏

@hizumisen hizumisen merged commit 3ea7978 into master Jun 17, 2024
3 checks passed
@hizumisen hizumisen deleted the PMPDD-72/task/fix-warning-on-attaching-an-anonymous-function-to-telemetry branch June 17, 2024 09:08
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 this pull request may close these issues.

2 participants