-
Notifications
You must be signed in to change notification settings - Fork 1
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
Hubot sends multiple packets to api upon 2+ vm creations #1
Comments
Hubot will respond twice after the mem answer, then three times after the next, then four after the next, finally sending off 5 different json packets. |
The two pictures show that the callback function is being called once before the user response and once after. I purposely prevented the next call from being executed until the dual call issue is fixed. |
hey @quickjp2 I think you're misreading the error - the issue isn't that askQuestion is getting called multiple times (looks like it's designed very much to be called recursively), but that it can't find the reference to itself:
|
Indeed! It is meant to be recursive. But the problem is not that it's not recursing (if that's even a word). The issue is that recursive function is being called before I even respond to it. |
The second time the first vm packet is sent along with several copies of the new vm.
The text was updated successfully, but these errors were encountered: