mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
feat: if the time seems too long it remains at 0s
This commit is contained in:
1 parent
de3b8a10a0
commit
a3765c19e3
1 file changed
+5
-1
@@ -140,7 +140,11 @@
|
||||
}
|
||||
},
|
||||
measure_finished_time() {
|
||||
return this.finished_time;
|
||||
if (this.finished_time > 2000) {
|
||||
return 0;
|
||||
} else {
|
||||
return this.finished_time;
|
||||
}
|
||||
},
|
||||
measure_since_started() {
|
||||
return dayjs.utc(created_at).fromNow();
|
||||
|
||||
Reference in new issue
Block a user