summaryrefslogtreecommitdiff
path: root/src/RealtimeCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-04-20 05:42:15 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-04-20 05:42:15 +0000
commitc1c5e7369f77a1125b12ac58b8b30378858d9317 (patch)
treeba00cf279a2604b968e8de27a50d806c9c88d5b7 /src/RealtimeCommand.cc
parent3505201f3333c937b5b870d70019d400c722a69f (diff)
2008-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Eliminates the time lag between sequential downloads and commands in the same RequestGroup. In old implementation, aria2 occasionally waits 1 seconds before executing next command or RequestGroup. This is really a waste of time, and new implementation eliminates this unnecessary time lag. * src/AbstractCommand.cc * src/AutoSaveCommand.cc * src/CheckIntegrityCommand.cc * src/Command.{cc, h} * src/DownloadEngine.{cc, h} * src/DownloadEngineFactory.cc * src/FileAllocationCommand.cc * src/FileAllocationDispatcherCommand.cc * src/FillRequestGroupCommand.cc * src/FtpInitiateConnectionCommand.cc * src/HaveEraseCommand.cc * src/HttpInitiateConnectionCommand.cc * src/HttpResponseCommand.cc * src/RealtimeCommand.cc * src/RequestGroup.cc * src/RequestGroupMan.cc * src/StreamFileAllocationEntry.cc * src/TimeBasedCommand.{cc, h} * src/TimedHaltCommand.cc
Diffstat (limited to 'src/RealtimeCommand.cc')
-rw-r--r--src/RealtimeCommand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RealtimeCommand.cc b/src/RealtimeCommand.cc
index 2cdecbe4..932154d4 100644
--- a/src/RealtimeCommand.cc
+++ b/src/RealtimeCommand.cc
@@ -41,7 +41,7 @@ namespace aria2 {
bool RealtimeCommand::execute()
{
setStatusRealtime();
- _e->noWait = true;
+ _e->setNoWait(true);
try {
return executeInternal();
} catch(Exception* e) {