[Quantproject-developers] QuantDownloader/Downloader TickerDownloader.cs,1.13,1.14
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2005-01-20 19:16:24
|
Update of /cvsroot/quantproject/QuantDownloader/Downloader In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv322/Downloader Modified Files: TickerDownloader.cs Log Message: Added code for inserting in faultyTickers table those tickers for which downloading has not been successful Index: TickerDownloader.cs =================================================================== RCS file: /cvsroot/quantproject/QuantDownloader/Downloader/TickerDownloader.cs,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** TickerDownloader.cs 5 Sep 2004 13:57:00 -0000 1.13 --- TickerDownloader.cs 20 Jan 2005 19:16:14 -0000 1.14 *************** *** 560,564 **** string notUsed = exception.ToString(); numTrials++; ! //if(numTrials==6) //throw new Exception("It has not been possible to set streams from Yahoo: \n\n" + // "Check the connection to the internet or the following url: \n\n" + --- 560,566 ---- string notUsed = exception.ToString(); numTrials++; ! if(numTrials==5) ! FaultyTickers.AddOrUpdate(this.p_quTicker, DateTime.Now.Date); ! // to add faulty tickers to database table //throw new Exception("It has not been possible to set streams from Yahoo: \n\n" + // "Check the connection to the internet or the following url: \n\n" + |