From bdb0dddfcfcebe3143358e3c7ece43310da915a8 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 16 Jun 2008 19:39:08 +0000 Subject: 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. --- OpenSim/Data/Migration.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Data') 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 { 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) -- cgit v1.1