Avoid compacting the database if there's not enough space for the backup #908
Labels
No labels
Blocked
Bug
Documentation
Duplicate
Enhancement
Good first issue
Help wanted
Idea
In progress
Invalid
Major feature set
Packaging
Question
Soon
UI/UX
Upstream
You're dreamin'
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nostr/gossip#908
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?
As per title.
I don't know how to determine if there is enough space. Rust std doesn't offer any such function and I can't seem to find a rust crate that does it either.
But if it fails, it erases the partial copy and then keeps running gossip.
And it only tries once per week.
If you find a better way, I'll do it.
I confirm that now it's working fine!
I probably didn't pull the last commits, sorry.