adding sleep to load image in case of bulk messages#93
adding sleep to load image in case of bulk messages#93arsalankhan994 wants to merge 2 commits intoKalebu:mainfrom
Conversation
euriconicacio
left a comment
There was a problem hiding this comment.
Hi, @arsalankhan994. First of all, thanks a lot for contributing!
One question: any reason for an exact 0.3 sleep? It seems like a really specific value. Can you test + provide further info if that fits all possible cases you are attempting to address?
Thanks a lot!
|
Hi @euriconicacio, I hope you are well. The problem that I was facing is that when I called send_picture inside the loop, then some of the images are not sent properly and shows an error icon because the browser close immediately after sending an image. So I tested this same case with 0.1 sleep, then 0.2 and then 0.3, and it perfectly worked on 0.3 seconds. I have tested this same thing with different images and attachments and I think that it should work in all cases. Thanks |
Hi, @arsalankhan994! Thanks for the reply.
Please, let us know if that's not possible, so we can pull your branch and run them. Thanks! |
euriconicacio
left a comment
There was a problem hiding this comment.
Additional tests were requested in a separate comment. Main goal: use the ideal value for the proposed sleep.
Btw, @arsalankhan994, can you please set that as a global variable? Thanks.
|
Hi, @arsalankhan994. Any update on the requested test outputs? Thanks. Hi, @b98430. I will be deleting your comment from this PR. Please, address it as an issue. Thanks. |
No description provided.