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
parent
e1409e0c04
commit
bdb0dddfcf
|
@ -134,6 +134,8 @@ namespace OpenSim.Data
|
||||||
{
|
{
|
||||||
int newversion = kvp.Key;
|
int newversion = kvp.Key;
|
||||||
cmd.CommandText = kvp.Value;
|
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();
|
cmd.ExecuteNonQuery();
|
||||||
|
|
||||||
if (version == 0)
|
if (version == 0)
|
||||||
|
|
Loading…
Reference in New Issue