Commit abd981f6 authored by 姚广胤's avatar 姚广胤

减少次数,test

parent 36a69507
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: ygy * @Author: ygy
* @Date: 2018-03-14 19:39:46 * @Date: 2018-03-14 19:39:46
* @Last Modified by: ygy * @Last Modified by: ygy
* @Last Modified time: 2018-03-22 20:34:40 * @Last Modified time: 2018-03-23 14:00:53
*/ */
const historyService = require('../services/historyService'); const historyService = require('../services/historyService');
...@@ -18,7 +18,7 @@ const runTiming = async () => { ...@@ -18,7 +18,7 @@ const runTiming = async () => {
} }
]; ];
await timing.iterateTimes(urls, 10); await timing.iterateTimes(urls, 2);
const resultToSave = urls[0]['arr']; const resultToSave = urls[0]['arr'];
const total = resultToSave.reduce((item, index) => { const total = resultToSave.reduce((item, index) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment