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

actix_multipart::Multipart: replace Rc with Arc #3568

Open
jb-alvarado opened this issue Feb 6, 2025 · 0 comments
Open

actix_multipart::Multipart: replace Rc with Arc #3568

jb-alvarado opened this issue Feb 6, 2025 · 0 comments

Comments

@jb-alvarado
Copy link

Hello,
I wanted to ask if it would be possible to change the reference-counting pointer in actix_multipart::Multipart from Rc to Arc.

I would like to use actix_multipart::Multipart in a multithreaded context, but this requires Send. Unfortunately, Rc does not support Send.

Is the overhead for actix manageable? I know that actix is single threaded by default, but there are situations where you want to use a different runtime or need to spawn a task.

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

No branches or pull requests

1 participant