aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorSean Dague2008-06-16 19:39:08 +0000
committerSean Dague2008-06-16 19:39:08 +0000
commitbdb0dddfcfcebe3143358e3c7ece43310da915a8 (patch)
tree3367874ee1eb3e70c873bd7acbe2eb2f5ec09d84 /OpenSim
parentbe a bit more verbose about what we are doing on the migration (diff)
downloadopensim-SC_OLD-bdb0dddfcfcebe3143358e3c7ece43310da915a8.zip
opensim-SC_OLD-bdb0dddfcfcebe3143358e3c7ece43310da915a8.tar.gz
opensim-SC_OLD-bdb0dddfcfcebe3143358e3c7ece43310da915a8.tar.bz2
opensim-SC_OLD-bdb0dddfcfcebe3143358e3c7ece43310da915a8.tar.xz
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.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Data/Migration.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Data/Migration.cs b/OpenSim/Data/Migration.cs
index 6637e1a..70c7a46 100644
--- a/OpenSim/Data/Migration.cs
+++ b/OpenSim/Data/Migration.cs
@@ -134,6 +134,8 @@ namespace OpenSim.Data
134 { 134 {
135 int newversion = kvp.Key; 135 int newversion = kvp.Key;
136 cmd.CommandText = kvp.Value; 136 cmd.CommandText = kvp.Value;
137 // we need to up the command timeout to infinite as we might be doing long migrations.
138 cmd.CommandTimeout = 0;
137 cmd.ExecuteNonQuery(); 139 cmd.ExecuteNonQuery();
138 140
139 if (version == 0) 141 if (version == 0)