-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Simplify the "ReaderHeadersReady" message-handler in the API #18977
Simplify the "ReaderHeadersReady" message-handler in the API #18977
Conversation
85ec06a
to
d0eab86
Compare
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/5933ebe33fb69bd/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/5f1ff547d1b4486/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/5933ebe33fb69bd/output.txt Total script time: 30.85 mins
Image differences available at: http://54.241.84.105:8877/5933ebe33fb69bd/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/5f1ff547d1b4486/output.txt Total script time: 50.61 mins
|
d0eab86
to
6cc96f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you.
We can convert the handler to an `async` function, which removes the need to create a temporary Promise here. Given the age of this code it shouldn't hurt to simplify it a little bit.
6cc96f5
to
afb4813
Compare
/botio unittest |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/1731069d28b286f/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/bbcabf9c558aa47/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/1731069d28b286f/output.txt Total script time: 2.54 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/bbcabf9c558aa47/output.txt Total script time: 7.58 mins
|
We can convert the handler to an
async
function, which removes the need to create a temporary Promise here.Given the age of this code it shouldn't hurt to simplify it a little bit.