質問編集履歴
2
文法の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -39,11 +39,6 @@
|
|
39
39
|
console.log(`problem with request: ${e.message}`);
|
40
40
|
});
|
41
41
|
|
42
|
-
req.setTimeout(1000, function() {
|
43
|
-
console.log("timeOut");
|
44
|
-
req.abort();
|
45
|
-
});
|
46
|
-
|
47
42
|
// write data to request body
|
48
43
|
req.write(postData);
|
49
44
|
req.end();
|
1
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
node.jsを用いてタイムアウト後にリトライ処理を行いたい。
|
1
|
+
node.jsを用いてエラー、またはタイムアウト後にリトライ処理を行いたい。
|
body
CHANGED
File without changes
|