set CommandTimeout = 0 in the migration commands so that long

migrations (like converting asset ids) don't run into the 
normal 30 second kill switch.
0.6.0-stable
Sean Dague 2008-06-16 19:39:08 +00:00
parent e1409e0c04
commit bdb0dddfcf
1 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,8 @@ namespace OpenSim.Data
{
int newversion = kvp.Key;
cmd.CommandText = kvp.Value;
// we need to up the command timeout to infinite as we might be doing long migrations.
cmd.CommandTimeout = 0;
cmd.ExecuteNonQuery();
if (version == 0)