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

feat: compose already existing signal handling #1768

Closed
wants to merge 1 commit into from

Conversation

JoanFM
Copy link

@JoanFM JoanFM commented Nov 18, 2022

This is a draft PR to spark some discussion.

I would like UviServer to be able to not override signal handlers already installed, so I was thinking that perhaps overriding an already existing signal handler with a composition of the previous and the one needed by UviCorn could be a good idea.

I know that we are accessing a private element that not every event loop implements and so on, but I would like to have your opinion about this problem and potential solutions before moving forward.

Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
@JoanFM JoanFM force-pushed the compose-signal-handling branch from 56dce4b to 54470d9 Compare November 18, 2022 09:51
@JoanFM
Copy link
Author

JoanFM commented Nov 18, 2022

Duplicated concern as #1600

@JoanFM JoanFM closed this Nov 18, 2022
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.

1 participant