fix: Support for a minimum timeout value of -1 in thread pool execution(#1069)

pull/1146/head
Ran 3 years ago
parent 9676b6a4be
commit 8c72ea9c14

@ -169,7 +169,8 @@
width="1000px"
>
<template>
<el-descriptions class="margin-top" :title="$t('threadPoolInstance.basicInformation')" :column="3" :size="size" border>
<el-descriptions class="margin-top" :title="$t('threadPoolInstance.basicInformation')" :column="3" :size="size"
border>
<el-descriptions-item>
<template slot="label"> {{ $t('threadPoolInstance.threadPoolID') }}</template>
{{ runTimeTemp.tpId }}
@ -195,7 +196,8 @@
</el-descriptions>
<br/>
<br/>
<el-descriptions class="margin-top" :title="$t('threadPoolInstance.LoadInformation')" :column="3" :size="size" border>
<el-descriptions class="margin-top" :title="$t('threadPoolInstance.LoadInformation')" :column="3" :size="size"
border>
<el-descriptions-item>
<template slot="label"> {{ $t('threadPoolInstance.CurrentLoad') }}</template>
{{ runTimeTemp.currentLoad }}
@ -215,7 +217,8 @@
</el-descriptions>
<br/>
<br/>
<el-descriptions class="margin-top" :title="$t('threadPoolInstance.threadInformation')" :column="3" :size="size" border>
<el-descriptions class="margin-top" :title="$t('threadPoolInstance.threadInformation')" :column="3" :size="size"
border>
<el-descriptions-item>
<template slot="label"> {{ $t('threadPool.coreSize') }}</template>
{{ runTimeTemp.coreSize }}
@ -239,7 +242,8 @@
</el-descriptions>
<br/>
<br/>
<el-descriptions class="margin-top" :title="$t('threadPoolInstance.queueInformation')" :column="3" :size="size" border>
<el-descriptions class="margin-top" :title="$t('threadPoolInstance.queueInformation')" :column="3" :size="size"
border>
<el-descriptions-item>
<template slot="label"> {{ $t('threadPool.queueCapacity') }}</template>
{{ runTimeTemp.queueCapacity }}
@ -259,7 +263,8 @@
</el-descriptions>
<br/>
<br/>
<el-descriptions class="margin-top" :title="$t('threadPoolInstance.otherInformation')" :column="3" :size="size" border>
<el-descriptions class="margin-top" :title="$t('threadPoolInstance.otherInformation')" :column="3" :size="size"
border>
<el-descriptions-item>
<template slot="label"> {{ $t('threadPoolInstance.totalTask') }}</template>
{{ runTimeTemp.completedTaskCount }}
@ -358,7 +363,7 @@
v-model="temp.executeTimeOut"
:placeholder="$t('threadPool.executionTimeoutUnit')"
controls-position="right"
:min="0"
:min="-1"
:max="999999"
/>
</el-form-item>
@ -630,7 +635,8 @@ export default {
});
}
})
.catch(() => {});
.catch(() => {
});
},
resetTemp() {
this.isRejectShow = false;
@ -667,7 +673,8 @@ export default {
});
}
})
.catch(() => {});
.catch(() => {
});
},
//
handleUpdate(row) {
@ -798,7 +805,8 @@ export default {
this.listLoading = false;
}, 1500);
})
.catch(() => {});
.catch(() => {
});
}
});
},
@ -828,7 +836,8 @@ export default {
});
}
})
.catch(() => {});
.catch(() => {
});
},
itemSelectList() {
@ -847,7 +856,8 @@ export default {
});
}
})
.catch(() => {});
.catch(() => {
});
},
},
};
@ -857,6 +867,7 @@ export default {
.headerRowName {
}
/* 滚动槽 */
::-webkit-scrollbar {
width: 8px;

@ -252,6 +252,8 @@
v-model="temp.executeTimeOut"
:placeholder="$t('threadPool.executionTimeoutUnit')"
controls-position="right"
:min="-1"
:max="999999"
/>
</el-form-item>
<el-form-item :label="$t('threadPool.keepAliveTime')" prop="keepAliveTime">

Loading…
Cancel
Save