mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
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.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user