2
2
mirror of https://github.com/octoleo/restic.git synced 2025-02-05 05:18:27 +00:00
Alexander Neumann 581c62ee72 archiver: Improve error handling
This commit changes how the worker goroutines for saving e.g. blobs
interact. Before, it was possible to get stuck sending an instruction to
archive a file or dir when no worker goroutines were available any more.
This commit introduces a `done` channel for each of the worker pools,
which is set to the channel returned by `tomb.Dying()`, so it is closed
when the first worker returned an error.
2018-05-12 23:55:54 +02:00
..
2017-07-23 14:19:13 +02:00
2018-05-12 23:55:54 +02:00
2018-05-01 16:27:44 +02:00
2018-05-10 19:22:46 +02:00
2018-03-30 10:24:26 +02:00
2018-04-22 11:37:05 +02:00
2017-09-11 09:32:44 -07:00
2018-03-04 20:11:29 +00:00
2017-09-11 09:32:44 -07:00
2018-03-21 21:49:03 +01:00
2017-07-23 14:19:13 +02:00
2017-10-22 10:07:36 +02:00
2017-07-23 14:19:13 +02:00
2018-04-22 11:37:05 +02:00
2018-04-30 14:19:04 +02:00
2018-04-30 14:19:04 +02:00
2017-07-23 14:19:13 +02:00
2017-10-02 15:06:39 +02:00
2018-02-25 13:11:03 +01:00
2018-04-28 22:08:11 +02:00
2017-10-01 17:14:54 +02:00