Skip to content

Commit

Permalink
feat:(1.2.0-beta1.1): 1. 修复并行度大于1时,map任务执行失败问题2. 修复前端回显问题
Browse files Browse the repository at this point in the history
  • Loading branch information
open-snail2 committed Sep 9, 2024
1 parent 1ec1f98 commit 7da2aa3
Show file tree
Hide file tree
Showing 65 changed files with 90 additions and 90 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<java.version>17</java.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<revision>1.2.0-beta1</revision>
<revision>1.2.0-beta1.1</revision>
<netty-all.version>4.1.94.Final</netty-all.version>
<hutool-all.version>5.8.25</hutool-all.version>
<mybatis-plus.version>3.5.7</mybatis-plus.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static ThreadPoolExecutor createThreadPool(Long taskBatchId, int parallel
Supplier<ThreadPoolExecutor> supplier = () -> {
ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(
// 默认情况先只设置一个线程, 只有分片任务(静态分片、MAP、MapReduce)才会需要多线程支持
1, parallelNum, 10, TimeUnit.SECONDS, new LinkedBlockingQueue<>(),
1, parallelNum, 10, TimeUnit.SECONDS, new LinkedBlockingQueue<>(10000),
new CustomizableThreadFactory(MessageFormat.format("snail-job-job-{0}-", taskBatchId)));
threadPoolExecutor.allowCoreThreadTimeOut(true);
return threadPoolExecutor;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{bp as p,b5 as e,bN as F,bq as C,bv as B,dv as G,dw as H,d as E,b6 as N,b9 as L,dx as q,a as M,bw as k,bc as K,bY as W,dy as Y,al as n,dz as J,dA as Q}from"./index-FUIa4-vU.js";function D(r,b="default",a=[]){const{children:i}=r;if(i!==null&&typeof i=="object"&&!Array.isArray(i)){const l=i[b];if(typeof l=="function")return l()}return a}const V="DESCRIPTION_ITEM_FLAG";function U(r){return typeof r=="object"&&r&&!Array.isArray(r)?r.type&&r.type[V]:!1}const X=p([e("descriptions",{fontSize:"var(--n-font-size)"},[e("descriptions-separator",`
import{bp as p,b5 as e,bN as F,bq as C,bv as B,dv as G,dw as H,d as E,b6 as N,b9 as L,dx as q,a as M,bw as k,bc as K,bY as W,dy as Y,al as n,dz as J,dA as Q}from"./index-Dw6v9XEN.js";function D(r,b="default",a=[]){const{children:i}=r;if(i!==null&&typeof i=="object"&&!Array.isArray(i)){const l=i[b];if(typeof l=="function")return l()}return a}const V="DESCRIPTION_ITEM_FLAG";function U(r){return typeof r=="object"&&r&&!Array.isArray(r)?r.type&&r.type[V]:!1}const X=p([e("descriptions",{fontSize:"var(--n-font-size)"},[e("descriptions-separator",`
display: inline-block;
margin: 0 8px 0 2px;
`),e("descriptions-table-wrapper",[e("descriptions-table",[e("descriptions-table-row",[e("descriptions-table-header",{padding:"var(--n-th-padding)"}),e("descriptions-table-content",{padding:"var(--n-td-padding)"})])])]),F("bordered",[e("descriptions-table-wrapper",[e("descriptions-table",[e("descriptions-table-row",[p("&:last-child",[e("descriptions-table-content",{paddingBottom:0})])])])])]),C("left-label-placement",[e("descriptions-table-content",[p("> *",{verticalAlign:"top"})])]),C("left-label-align",[p("th",{textAlign:"left"})]),C("center-label-align",[p("th",{textAlign:"center"})]),C("right-label-align",[p("th",{textAlign:"right"})]),C("bordered",[e("descriptions-table-wrapper",`
Expand Down
Loading

0 comments on commit 7da2aa3

Please sign in to comment.