Export to GitHub

gambas - issue #160

Requirement connection timeout


Posted on Dec 19, 2011 by Grumpy Kangaroo

I need to specify how long it takes to show the error when I try a connection to the db Normally in other languages ​​is possible to specify the timeout. Currently, gambas has a default time too long for my taste. If the database server does not respond, it takes over 30 seconds to return the error. Thanks

Comment #1

Posted on Dec 20, 2011 by Swift Rhino

(No comment was entered for this change.)

Comment #2

Posted on Dec 22, 2011 by Swift Rhino

Done in revision #4309. I added a Connection.Timeout property, that is 20 seconds by default.

Comment #3

Posted on Dec 22, 2011 by Grumpy Kangaroo

I will use immediately. Excellent work. Thanks

Status: Fixed

Labels:
Version-TRUNK Type-Enhancement Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any