#1 2016-01-04 10:20:08

Thomas-Acia
Member
From: Metz (France)
Registered: 2015-04-16
Posts: 79

Question about the timeout delay

Hi Ab,

Firstly, I wish a Happy New Year to all mORMot'er !

If I'm not mistaken, the timeout to receiv the result of a CallBackGetResult is more or less 30 seconds.
Does exist a way to extend this delay ?

Thank you


Edit : I found the Default Timeouts in the SynCrtSock Unit

Edit 2: When I use "HttpRequest := THttpRequest.Create(IP, '83', False,'','',60000,60000,60000);", I have an abstract error.

Last edited by Thomas-Acia (2016-01-04 11:01:19)


Delphi 2010 - Delphi XE5 (x64 Apps) - CodeTyphon - Typhon IDE v 5.7 - FPC 3.1.1 - mORMot 1.18
Windows 7 - VirtualBox : Linux Debian 8.5 Jessie 32 bits

Offline

#2 2016-01-04 11:16:41

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,666
Website

Re: Question about the timeout delay

Happy new year, too!
thanks!

You have the corresponding optional parameters available at TSQLHttpClient.Create() level.

Offline

#3 2016-01-04 13:31:23

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,666
Website

Re: Question about the timeout delay

Yes this is an abstract class.


Use an actual implementation class like TSQLHttpClient

Offline

#4 2016-01-04 15:48:34

Thomas-Acia
Member
From: Metz (France)
Registered: 2015-04-16
Posts: 79

Re: Question about the timeout delay

Ok thank you !


Delphi 2010 - Delphi XE5 (x64 Apps) - CodeTyphon - Typhon IDE v 5.7 - FPC 3.1.1 - mORMot 1.18
Windows 7 - VirtualBox : Linux Debian 8.5 Jessie 32 bits

Offline

Board footer

Powered by FluxBB