[Quantproject-developers] QuantDownloader/Downloader/OpenTickDownloader DownloaderConstants.cs, 1.
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2008-07-20 20:33:42
|
Update of /cvsroot/quantproject/QuantDownloader/Downloader/OpenTickDownloader In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5578/Downloader/OpenTickDownloader Modified Files: DownloaderConstants.cs Log Message: A new constan has been added, to allow an OTManager to have a max number of pending requests (to avoid too many requests to be submitted) Index: DownloaderConstants.cs =================================================================== RCS file: /cvsroot/quantproject/QuantDownloader/Downloader/OpenTickDownloader/DownloaderConstants.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DownloaderConstants.cs 9 Jul 2008 22:17:14 -0000 1.1 --- DownloaderConstants.cs 20 Jul 2008 20:33:39 -0000 1.2 *************** *** 34,37 **** --- 34,45 ---- public const int MAX_NUMBER_OF_BARS_TO_BE_WRITTEN_WITH_A_SINGLE_SQL_COMMAND = 1; + + /// <summary> + /// Max number of bars that a single OTManager object will have + /// pending (if new requests arrive, they will be delayed until + /// the previous ones have been satisfied) + /// </summary> + public const + int MAX_NUMBER_OF_PENDING_REQUESTS_FOR_A_SINGLE_OTMANAGER = 100; // public DownloaderConstants() |