How to restrain impatient tsNet?

Mark Waddingham mark at livecode.com
Sun Nov 7 12:50:53 EST 2021


I think tsNetSetTimeouts is what you need :)

Warmest Regards,

Mark

Sent from my iPhone

> On 7 Nov 2021, at 16:51, Ben Rubinstein via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 
> I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the accumulating/sorting delay loops, which has made this possible).
> 
> I've hit what I hope is the last hurdle: at one point in its processing, the app has to load a resource over HTTP, which is s.l.o.w. - it typically takes around 8 minutes at the moment.
> 
> By setting the sockettimeoutinterval to the extreme 1800 (i.e. half an hour) this has been fine.
> 
> But under 9.6.5, in spite of this setting, it craps out within a minute with the message
>    tsneterr: (28) Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds
> 
> Does tsneterr ignore the sockettimeoutinterval? Is there some other property I can set to persuade it to be patient?
> 
> TIA,
> 
> Ben
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list