mirror of
https://github.com/strapi/strapi.git
synced 2025-11-17 10:38:30 +00:00
remove delay
This commit is contained in:
parent
68522cbeb9
commit
70013c4a61
@ -257,9 +257,6 @@ class TransferEngine<
|
|||||||
transform: async (data, _encoding, callback) => {
|
transform: async (data, _encoding, callback) => {
|
||||||
this.#updateTransferProgress(stage, data, aggregate);
|
this.#updateTransferProgress(stage, data, aggregate);
|
||||||
this.#emitStageUpdate('progress', stage);
|
this.#emitStageUpdate('progress', stage);
|
||||||
await new Promise((resolve) => {
|
|
||||||
setTimeout(resolve, 300);
|
|
||||||
});
|
|
||||||
callback(null, data);
|
callback(null, data);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user