Skip to content

Conversation

@carlmontanari
Copy link
Contributor

@glspi is maybe testing this a bit more, but we realized we were uh... not very concurrent 🤣

tldr; the resp := <- rCh was blocking on each device waiting for response. so just moved things around a bit and created a dummy object to send into channel so we can always have the device name bound to response even if things fail early (as in no scrapligo response object gets created because we send nil to the rCh).

@hellt
Copy link
Owner

hellt commented Dec 13, 2022

thanks @carlmontanari !

I'll wait for @glspi to report back that it is all good before merging this

@nopg
Copy link
Contributor

nopg commented Dec 14, 2022

Yo, used this code on 100 devices multiple times in production no issues, thanks!

@hellt hellt merged commit b478396 into hellt:master Dec 14, 2022
@hellt
Copy link
Owner

hellt commented Dec 14, 2022

thanks @carlmontanari and @glspi
I am carving out a new release with those changes

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.

3 participants