moster67 Expert Licensed User Longtime User May 13, 2014 #1 Jut wondering what is the default value of the httpjob.timeout? Another related question: I have the following code: B4X: JOB_CheckForSomething.Download(URL_CheckForSomething) JOB_CheckForSomething.GetRequest.Timeout = 4000 After setting the timeout-value in above code-snippet, will the default-value of timeout be reset after the job has been released?
Jut wondering what is the default value of the httpjob.timeout? Another related question: I have the following code: B4X: JOB_CheckForSomething.Download(URL_CheckForSomething) JOB_CheckForSomething.GetRequest.Timeout = 4000 After setting the timeout-value in above code-snippet, will the default-value of timeout be reset after the job has been released?
DonManfred Expert Licensed User Longtime User May 13, 2014 #2 try to log B4X: log(JOB_CheckForSomething.GetRequest.Timeout) after B4X: JOB_CheckForSomething.Download this should log the default-value.... After job is finished the default get back to it´s place... So you should do set the timeout on each new job i suppose Upvote 0
try to log B4X: log(JOB_CheckForSomething.GetRequest.Timeout) after B4X: JOB_CheckForSomething.Download this should log the default-value.... After job is finished the default get back to it´s place... So you should do set the timeout on each new job i suppose
Erel B4X founder Staff member Licensed User Longtime User May 14, 2014 #3 @DonManfred answer is correct. The default timeout value is 30000 (30 seconds). Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Nov 12, 2014 #4 Why is the app freezing in this case? The job is handled by a background thread. Upvote 0