socketTimeoutInterval and LC server
jbv at souslelogo.com
jbv at souslelogo.com
Wed Nov 26 11:08:29 EST 2025
Actually, my script sends requests to a pod on which an AI vision model
runs
on a GPU and spots some details in an image that is sent along with the
request. Some images are quite complex and therefore need to be at least
2000 px width, so that details don't get blurred.
I am using a pretty fast GPU and have optimized my prompt, but
nevertheless
sometimes it can take 20 to 25 seconds to get the response from the AI.
Le 2025-11-26 10:35, Pi Digital via use-livecode a écrit :
> Hi jbv
>
> If a socket response is taking more than 30s then there IS likely a
> problem with the connection. What conditions would you expect it to
> take longer for?
>
> Sean Cole
> Pi Digital
>
>> On 26 Nov 2025, at 14:17, jbv via use-livecode
>> <use-livecode at lists.runrev.com> wrote:
>>
>> Hi list,
>>
>> I have a script on my on-rev account that sends curl requests
>> via an API to another server. The default value of
>> socketTimeoutInterval
>> is 10000, but it's almost inpossible to predict how long it will take
>> to
>> receive the response from each successive request (between 2 to 30
>> seconds).
>> So I was wondering what is the maximum possible value for
>> socketTimeoutInterval
>> without taking the risk of crashing anything...
>>
>> Thank you in advance.
>> jbv
>>
>> _______________________________________________
>> 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
> _______________________________________________
> 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