gg-mysql-connector 1.0.61 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -177,10 +177,10 @@ class MyDBMigrator {
|
|
|
177
177
|
.finally(() => {
|
|
178
178
|
console.log("");
|
|
179
179
|
});
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
180
|
+
}
|
|
181
|
+
if (loopCount > viewModel.length * 5) {
|
|
182
|
+
console.error("error while updating view, reason is loop update counter is over 5 time fail");
|
|
183
|
+
process.exit(1);
|
|
184
184
|
}
|
|
185
185
|
loopCount++;
|
|
186
186
|
}
|
package/package.json
CHANGED
|
@@ -282,13 +282,12 @@ export default class MyDBMigrator {
|
|
|
282
282
|
.finally(() => {
|
|
283
283
|
console.log("")
|
|
284
284
|
})
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
}
|
|
285
|
+
}
|
|
286
|
+
if (loopCount > viewModel.length * 5) {
|
|
287
|
+
console.error(
|
|
288
|
+
"error while updating view, reason is loop update counter is over 5 time fail"
|
|
289
|
+
)
|
|
290
|
+
process.exit(1)
|
|
292
291
|
}
|
|
293
292
|
loopCount++
|
|
294
293
|
}
|