From 8a30846fcdbcc9af4f768b4e86bb92159babfe5d Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 20 Aug 2018 09:38:05 -0400 Subject: [PATCH] set timeout to 600 seconds --- runner.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runner.cs b/runner.cs index 1531afb..b6937b3 100644 --- a/runner.cs +++ b/runner.cs @@ -24,6 +24,8 @@ namespace test string msg = "Help:"; msg = msg + Environment.NewLine; + msg = msg + "version 0.11"; + msg = msg + Environment.NewLine; msg = msg + "-scs source connection string"; msg = msg + Environment.NewLine; msg = msg + "-dcs destination connection string"; @@ -103,6 +105,7 @@ namespace test Console.Write(Environment.NewLine); Console.Write("etl start:" + DateTime.Now.ToString()); NpgsqlTransaction pgt = pgc.BeginTransaction(); + ibmcmd.CommandTimeout = 600; var ibmdr = ibmcmd.ExecuteReader(); //setup getv object array dimensioned to number of columns for scenario var getv = new object[ibmdr.FieldCount];