set timeout to 600 seconds
This commit is contained in:
parent
86e55ec7b2
commit
8a30846fcd
@ -24,6 +24,8 @@ namespace test
|
|||||||
|
|
||||||
string msg = "Help:";
|
string msg = "Help:";
|
||||||
msg = msg + Environment.NewLine;
|
msg = msg + Environment.NewLine;
|
||||||
|
msg = msg + "version 0.11";
|
||||||
|
msg = msg + Environment.NewLine;
|
||||||
msg = msg + "-scs source connection string";
|
msg = msg + "-scs source connection string";
|
||||||
msg = msg + Environment.NewLine;
|
msg = msg + Environment.NewLine;
|
||||||
msg = msg + "-dcs destination connection string";
|
msg = msg + "-dcs destination connection string";
|
||||||
@ -103,6 +105,7 @@ namespace test
|
|||||||
Console.Write(Environment.NewLine);
|
Console.Write(Environment.NewLine);
|
||||||
Console.Write("etl start:" + DateTime.Now.ToString());
|
Console.Write("etl start:" + DateTime.Now.ToString());
|
||||||
NpgsqlTransaction pgt = pgc.BeginTransaction();
|
NpgsqlTransaction pgt = pgc.BeginTransaction();
|
||||||
|
ibmcmd.CommandTimeout = 600;
|
||||||
var ibmdr = ibmcmd.ExecuteReader();
|
var ibmdr = ibmcmd.ExecuteReader();
|
||||||
//setup getv object array dimensioned to number of columns for scenario
|
//setup getv object array dimensioned to number of columns for scenario
|
||||||
var getv = new object[ibmdr.FieldCount];
|
var getv = new object[ibmdr.FieldCount];
|
||||||
|
Loading…
Reference in New Issue
Block a user