Fix database connection keep alive

Review Request #96 - Created Nov. 3, 2009 and submitted

Information
Bogdan-Cristian Tătăroiu
infoarena
Reviewers
hackers
This should fix the eval crashing when it is unable to connect to the database server.

We already had some keep alive system implemented, but when an attempt to reconnect failed the first time the db_connect function would log_error and the eval would stop.

Valentin Stanciu
Savin  Tiberiu
Bogdan-Cristian Tătăroiu
Review request changed

Change Summary:

Moved retry code from db_keepalive to db_connect for cleaner code.

Diff:

Revision 3 (+23 -11)

Show changes

Savin  Tiberiu

Loading...