Переведите приём и чтение вложений на асинхронный контракт
This commit is contained in:
@@ -182,7 +182,7 @@ func exercise(ctx context.Context, o options, out, progress io.Writer) error {
|
||||
fmt.Fprintln(progress, "fault dry/apply/repeat passed; referenced messages, corrupt used blobs and fresh objects preserved")
|
||||
// These resources were created above solely for this run; no compose
|
||||
// endpoint or pre-existing database/bucket is ever accepted by this tool.
|
||||
if _, err = db.Pool.Exec(ctx, `TRUNCATE message_attachments,attachments,files`); err != nil {
|
||||
if _, err = db.Pool.Exec(ctx, `TRUNCATE message_attachments,attachments,files CASCADE`); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = emptyBucket(ctx, s3.Store); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user