mirror of https://github.com/zulip/zulip.git
Also change the comment to read 300 ms
(imported from commit e039dca675affa275247280a33bd414705bd44c0)
This commit is contained in:
parent
af70df0e70
commit
e590c914a6
|
@ -71,7 +71,7 @@ function wait_and_send(type, params) {
|
|||
|
||||
// Wait to receive queued messages.
|
||||
function wait_for_receive(step) {
|
||||
// Wait until the last send or get_updates result was more than 100 ms ago.
|
||||
// Wait until the last send or get_updates result was more than 300 ms ago.
|
||||
casper.waitFor(function () {
|
||||
return (timestamp() - last_send_or_update) > 300;
|
||||
}, step);
|
||||
|
|
Loading…
Reference in New Issue