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

fix(generator): spawn tokio task for mt responses #2

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

janezicmatej
Copy link
Contributor

Temporary fix za python spammer script, ki ne posje keep-alive headerja. Ko se bodo projekti pogovarjali med sabo, naj http client ne posilja keep-alive headerja.

Ce ima kdo cas lahko pregleda te issue (in morda se katerega related) za proper fix:

@janezicmatej
Copy link
Contributor Author

Sem ugotovil kaj je tezava. Treba je response wrappat v tokio::task::spawn, da se lahko handla vec responsov vzporedno. Sem dodal se en commit, ki ustrezno popravi.

@janezicmatej janezicmatej changed the title fix(spammer): don't send keep-alive header in post request fix(generator): spawn tokio task for mt responses Jun 3, 2024
@matijapretnar matijapretnar merged commit e5cb239 into matijapretnar:main Jun 6, 2024
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.

None yet

2 participants