Переведите приём и чтение вложений на асинхронный контракт
This commit is contained in:
@@ -65,7 +65,7 @@ func run(ctx context.Context, args []string, out, errOut io.Writer) int {
|
||||
return 1
|
||||
}
|
||||
defer db.Close()
|
||||
r, err := attachment.NewReconciler(db, blobs, *grace)
|
||||
r, err := attachment.NewReconcilerWithRetention(db, blobs, *grace, s3Config.StagingRetention)
|
||||
if err != nil {
|
||||
fmt.Fprintln(errOut, "reconcile:", err)
|
||||
return 2
|
||||
|
||||
Reference in New Issue
Block a user