We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd2d4c5 commit c904626Copy full SHA for c904626
‎CHANGELOG.md
@@ -16,6 +16,7 @@
16
* Remove support for adding `$_extra_fields` during saving
17
* Make `Datasource#toDatasource()` work without a callback
18
* Make `Datasource#toApp()` work without a callback
19
+* Print a warning when a stage takes over 10 seconds to finish
20
21
## 1.4.0-alpha.3 (2024-02-25)
22
‎lib/core/stage.js
@@ -551,6 +551,12 @@ Stage.setMethod(async function _launch(child_stages) {
551
if (!this.is_root) {
552
this.root_stage.emit('launching', this);
553
}
554
+
555
+ setTimeout(() => {
556
+ if (!this.ended) {
557
+ console.warn('Stage "' + this.id + '" is taking a long time...');
558
+ }
559
+ }, 10 * 1000);
560
561
562
if (!this[STATUS]) {
0 commit comments