* Added reconnect support for MySQL Data interfaces if they time out. (Grid/User modes only now, Log todo)

* Begun writing support for supporting the "Start" region login parameter.
This commit is contained in:
Adam Frisby
2007-05-30 02:36:48 +00:00
parent e9aa24feff
commit b0de1b93f9
4 changed files with 85 additions and 6 deletions

View File

@@ -51,6 +51,7 @@ namespace OpenGrid.Framework.Data.MySQL
}
catch (Exception e)
{
database.Reconnect();
Console.WriteLine(e.ToString());
return null;
}
@@ -78,6 +79,7 @@ namespace OpenGrid.Framework.Data.MySQL
}
catch (Exception e)
{
database.Reconnect();
Console.WriteLine(e.ToString());
return null;
}
@@ -116,6 +118,7 @@ namespace OpenGrid.Framework.Data.MySQL
}
catch (Exception e)
{
database.Reconnect();
Console.WriteLine(e.ToString());
return null;
}