Skip to content

How to set workers #2278

Answered by Dominux
Dominux asked this question in Q&A
Oct 20, 2023 · 2 comments · 6 replies
Discussion options

You must be logged in to vote

Oh, sheesh, tried to use curl instead of dumb browser and I got it working this time:

2023-10-21T13:08:10.468567Z DEBUG my_app: got request
2023-10-21T13:08:10.884803Z DEBUG my_app: got request
2023-10-21T13:08:15.469477Z DEBUG my_app: awaiting done
2023-10-21T13:08:15.885457Z DEBUG my_app: awaiting done

I guess browser uses some kinda synchronization between multiple tabs of the single domain name, maybe that's why it works not as expected. Anyway thanks for implying to use other ways to test it.

P.s.: just sick of reading all related questions where the author uses std::thread::sleep so I haven't found any answered ones with proper sleeping strategy

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@Dominux
Comment options

@davidpdrsn
Comment options

@Dominux
Comment options

@davidpdrsn
Comment options

Comment options

You must be logged in to vote
2 replies
@Dominux
Comment options

@Dominux
Comment options

Answer selected by Dominux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants