fix(backup): shrink gmail checkpoint shards
This commit is contained in:
parent
8e4f5acebb
commit
b58964cc89
@ -17,6 +17,7 @@
|
||||
- Contacts: include birthdays in `contacts list` and `contacts search` text and JSON output. (#441)
|
||||
|
||||
### Fixed
|
||||
- Backup: split Gmail checkpoint commits into smaller encrypted shard files so large messages stay below GitHub's blob limit.
|
||||
- Calendar: display `calendar events` times and JSON local fields in the calendar timezone instead of preserving arbitrary event offsets. (#493)
|
||||
- Drive/Docs/Sheets/Slides: treat `--out -` as stdout for downloads and exports instead of creating `-`/`-.ext` files; reject `--json --out -` to keep byte streams parseable. (#286)
|
||||
- Docs: deprecate editing-command `--tab-id` in favor of `--tab`, and resolve tab titles to canonical tab IDs before mutations. (#533) — thanks @johnbenjaminlewis.
|
||||
|
||||
@ -351,7 +351,7 @@ type gmailBackupCheckpointer struct {
|
||||
pending []string
|
||||
}
|
||||
|
||||
const gmailCheckpointShardMaxRows = 1000
|
||||
const gmailCheckpointShardMaxRows = 250
|
||||
|
||||
func newGmailBackupCheckpointer(ctx context.Context, opts gmailBackupOptions, total int) *gmailBackupCheckpointer {
|
||||
enabled := opts.Checkpoints &&
|
||||
|
||||
Loading…
Reference in New Issue
Block a user