mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Upgrade GC storage and big query with updated patches (#31297)
GitOrigin-RevId: ff1432f4194c3529ebf6090d1f93dbed38539014
This commit is contained in:
committed by
Copybot
parent
44ecee821d
commit
72f8dff76d
22
patches/retry-request+8.0.2.patch
Normal file
22
patches/retry-request+8.0.2.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
diff --git a/node_modules/retry-request/index.js b/node_modules/retry-request/index.js
|
||||
index 298a351..7ec1ef8 100644
|
||||
--- a/node_modules/retry-request/index.js
|
||||
+++ b/node_modules/retry-request/index.js
|
||||
@@ -185,7 +185,7 @@ function retryRequest(requestOpts, opts, callback) {
|
||||
.on('complete', (...params) => handleFinish(params))
|
||||
.on('finish', (...params) => handleFinish(params));
|
||||
|
||||
- requestStream.pipe(delayStream);
|
||||
+ pipeline(requestStream, delayStream, () => {});
|
||||
} else {
|
||||
activeRequest = opts.request(requestOpts, onResponse);
|
||||
}
|
||||
@@ -251,7 +251,7 @@ function retryRequest(requestOpts, opts, callback) {
|
||||
// No more attempts need to be made, just continue on.
|
||||
if (streamMode) {
|
||||
retryStream.emit('response', response);
|
||||
- delayStream.pipe(retryStream);
|
||||
+ pipeline(delayStream, retryStream, () => {});
|
||||
requestStream.on('error', err => {
|
||||
retryStream.destroy(err);
|
||||
});
|
||||
Reference in New Issue
Block a user