jlucben
Pro
Posts: 27
Joined: Wed Oct 12, 2016 1:54 pm

Request Time out configuration

Sun Oct 01, 2017 11:10 pm

Hi

Is it possible to configure time out value for a request in Synbot.

Thanks for your answer

Jean-Luc

User avatar
Fantom
Help & Support
Posts: 313
Joined: Fri Oct 25, 2013 9:20 pm

Re: Request Time out configuration

Sun Oct 01, 2017 11:27 pm

In SIML Classic you can configure the timeout by setting value for the BotTimeout property in configuration.

CSharp Code

var simlBot = new SimlBot();
simlBot.Configuration.BotTimeout = TimeSpan.FromSeconds(2);
The request is also timedout if it exceeds maximum request length which you can set manually via "Max-Request-Length" Bot settings variable.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests