workers: handle disconnecting workers more gracefully

This commit is contained in:
Łukasz Magiera
2020-05-01 20:15:06 +02:00
parent 6077edb3d0
commit 9f2df68906
5 changed files with 11 additions and 4 deletions
+2
View File
@@ -22,4 +22,6 @@ type WorkerApi interface {
storage.Sealer
Fetch(context.Context, abi.SectorID, stores.SectorFileType, bool) error
Closing(context.Context) (<-chan struct{}, error)
}