mo10
August 27, 2021, 12:46pm
1
Please implement a Timeout on Dynamic Destinations like on other modules.
If no response after X seconds (or milliseconds) then goto destination…
Right now it would try to load the url forever. It would kill the whole callflow if no response from server.
Thank you.
admin
September 1, 2021, 6:36pm
2
Excellent suggestion, we will take it into account.
3 Likes
mo10
November 15, 2021, 4:34pm
3
@admin
just a little reminder!
Are you able to implement this in the next release, please? Imagine the whole call flow hangs because a website is not responding…
Since you have a timeout field in other modules already this should not be too much work.
THANKS
mo10
November 29, 2021, 7:47pm
4
This was added in 3.1.4-1 !
Thank you!
One Question:
@admin
What will happen on Timeout? Will it go the Default Destination ?
Please add this information to the tooltip. Thx
mo10
December 6, 2021, 11:32pm
5
i just tested it with:
<?php
sleep (10);
echo "done";
?>
and I set Timeout to 1 second.
But it was NOT working . It waited the whole 10 seconds (sleep).
miguel
December 7, 2021, 12:18am
6
The resource has to be unreachable. Try with an invalid URL.
CURLOPT_CONNECTTIMEOUT: The number of seconds to wait while trying to connect. Use 0 to wait indefinitely.
In the case above, the request got successfully connected.
mo10
December 7, 2021, 8:27am
7
Wrong url:
Received Response: UNDEFINEDUNDEFINED
I have no idea how to test the timeout.