forked from benbjohnson/litestream
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy WAL frames through temp file to shadow
This implementation replicates what the new behavior in the legacy branch did using a temporary file instead of memory to buffer WAL frames between commits. Fixes excess memory use if the WAL includes massive commits due to big inserts or migrations.
- Loading branch information
Showing
1 changed file
with
41 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters