summaryrefslogtreecommitdiff
path: root/src/SaveSessionCommand.cc
Commit message (Collapse)AuthorAgeFilesLines
* Use default where possibleNils Maier2016-08-291-1/+1
|
* make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-271-16/+18
|
* Replace timer facility with chrono libTatsuhiro Tsujikawa2015-06-091-2/+2
|
* Save session only when there is change since the last serializationTatsuhiro Tsujikawa2014-05-311-2/+13
| | | | | | | | | | | | | This is a slight optimization not to cause useless disk access. This only applies to saving session automatically (see --save-session-interval). aria2.saveSession and serialization at the end of the session are always performed as before. When serialization, we first check that whether there is any change since the last serialization. To do this, we first calculate hash value of serialized content without writing into file. Then compare this value to the value of last serialization. If they do not match, perform serialization.
* Revert "Save session only when there is change since the last serialization"Tatsuhiro Tsujikawa2014-05-311-13/+2
| | | | This reverts commit 1944d8db58555c08b5f069a2e987fcfdd5aad997.
* Save session only when there is change since the last serializationTatsuhiro Tsujikawa2014-05-301-2/+13
| | | | | | | This is a slight optimization not to cause useless disk access. This only applies to saving session automatically (see --save-session-interval). aria2.saveSession and serialization at the end of the session are always performed as before.
* Log an error when session fails to save.Nils Maier2014-01-081-2/+2
| | | | Instead of a notice.
* DownloadEngine: Use std::unique_ptr for RequestGroupManTatsuhiro Tsujikawa2013-07-061-1/+1
|
* Added --save-session-interval optionTatsuhiro Tsujikawa2013-01-101-0/+78
--save-session-interval option saves error/unfinished downloads to a file specified by --save-session option every SEC seconds. If 0 is given, file will be saved only when aria2 exits.