Try temporarily storing large sync responses to disk to reduce memory usage

This commit is contained in:
Tulir Asokan
2021-09-19 22:15:55 -04:00
parent 9dcf3bdb12
commit 15e05fc4e7
3 changed files with 4 additions and 3 deletions

View File

@ -427,6 +427,7 @@ func (c *Container) Start() {
debug.Print("Starting sync...")
c.running = true
c.client.StreamSyncMinAge = 30 * time.Minute
for {
select {
case <-c.stop: