mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #285] Feature Request: Catch SIGINT and exit gracefully #1713
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#1713
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Strubbl on GitHub (Oct 14, 2019).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/285
Type
What is the problem that your feature request solves
I want to abort a long-running archive process without loosing consistency so that i can resume it later.
Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes
It would be helpful if the archivebox can catch the CTRL+C signal (SIGINT) and react on that. It would be nice if would save all data (e.g. index.json) to disk and exit then. This way i have no corrupt data, e.g. like i had in the issue #245
What hacks or alternative solutions have you tried to solve the problem?
How badly do you want this new feature?
@pirate commented on GitHub (Oct 17, 2019):
This already done in >=v0.4.