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

gen_server timeout handling additional proposal #9466

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

RaimoNiskanen
Copy link
Contributor

This is a proposal for more code cleanup w.r.t PR #9287

Maria-12648430 and others added 7 commits February 17, 2025 08:25
Co-authored-by: Jan Uhlig <juhlig@hnc-agency.org>
* Use argument Hib = true to decode_msg/6 after emulated hibernation
* Rewrite extract_action/1 to produce less garbage
* Correct extract_action/1 for multiple options
* Refactor a common exit function decode_msg/4
Copy link
Contributor

github-actions bot commented Feb 19, 2025

CT Test Results

    2 files     97 suites   1h 8m 43s ⏱️
2 190 tests 2 143 ✅ 47 💤 0 ❌
2 556 runs  2 507 ✅ 49 💤 0 ❌

Results for commit a3df3fd.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

error
end.

handle_timeout(T, M, HibInf) when ?is_rel_timeout(T) ->
Copy link
Contributor

Choose a reason for hiding this comment

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

The guard makes no sense I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants