De117 / scanner

MIT License
0 stars 0 forks source link

Suspend/resume functionality #6

Open sgros opened 8 years ago

sgros commented 8 years ago

The scanner should have suspend/resume functionality. Since it will run for a longer periods of time, it would be good to be able to stop the scanner (which stores its current state somewhere - again, configuration option) and when it is started it can load state and continue from where it stopped. To load state, scanner should have a configuration/command line option that is used for that purpose.

De117 commented 7 years ago

Added in commit 8d8096d62f3e506719f417cd05ebece0066d9441. The changes in commit dbadb3dd3e91e47a7a900f6044ab542da13093fc make suspension to disk instant, without waiting for active scans to finish.