Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove unused instrumentation hooks from action_controller#43364

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@yykamei
Copy link
Contributor

Summary

Instrumentation hooks forwrite_page.action_controller andexpire_page.action_controller seem to be removed in#7833. So, subscribers for them are no longer necessary.

I think rails doesn't have to care about instrumentation hooks that are not provided by rails by subscribing to them in its core implementation.

Other Information

I searched the pattern includingwrite_page andexpire_page with git-grep(1) and got the result like this:

Screen Shot 2021-10-03 at 21 43 44

Instrumentation hooks for `write_page.action_controller` and`expire_page.action_controller` seem to be removedinrails#7833.So, subscribers for them are no longer necessary.
@eugeneiuseugeneius merged commit63be846 intorails:mainOct 3, 2021
@eugeneius
Copy link
Member

Thanks! I verified that these notifications never made it intohttps://github.com/rails/actionpack-action_caching, so it looks like you're right that they haven't worked since#7833.

yykamei reacted with thumbs up emoji

@yykameiyykamei deleted the remove-unused-instrumentation-action_controller-hooks branchMarch 28, 2022 07:23
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@yykamei@eugeneius

[8]ページ先頭

©2009-2025 Movatter.jp