Skip to content

Commit

Permalink
Fix code review problems
Browse files Browse the repository at this point in the history
  • Loading branch information
EricJoy2048 committed Oct 16, 2023
1 parent 945cdbc commit 37b8e70
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 deletions.
3 changes: 0 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -730,8 +730,6 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- disable spotless check during release -->
<!--
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
Expand All @@ -748,7 +746,6 @@
</dependency>
</dependencies>
</plugin>
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ public enum JobStatus {
/** Job is newly created, no task has started to run. */
CREATED(EndState.NOT_END),

/** Job will scheduler every pipeline */
/**
* Job will scheduler every pipeline, each PhysicalVertex in the pipeline will be scheduler and
* deploying
*/
SCHEDULED(EndState.NOT_END),

/** The job is already running, and each pipeline is already running. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,6 @@ private synchronized void stateProcess() {
updateJobState(JobStatus.RUNNING);
break;
case RUNNING:
try {
Thread.sleep(200);
} catch (InterruptedException e) {
makeJobFailing(e);
}
break;
case FAILING:
case CANCELING:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -609,11 +609,6 @@ private synchronized void stateProcess() {
updatePipelineState(PipelineStatus.RUNNING);
break;
case RUNNING:
try {
Thread.sleep(200);
} catch (InterruptedException e) {
makePipelineFailing(e);
}
break;
case FAILING:
case CANCELING:
Expand Down

0 comments on commit 37b8e70

Please sign in to comment.