mirror of
https://github.com/restic/restic.git
synced 2025-05-19 00:38:34 +00:00

This changes Dumper.writeNode to spawn loader goroutines as needed instead of as a pool. The code is shorter, fewer goroutines are spawned for small files, and crash dumps (also for unrelated errors) should be smaller.