Skip to content

Commit

Permalink
Merge pull request #57 from yma96/1.1.x
Browse files Browse the repository at this point in the history
Update log
  • Loading branch information
yma96 authored Jan 6, 2025
2 parents 33011b0 + 543e621 commit c9c9f94
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ public void generate( HistoricalContentDTO content )
recordInProgress( buildConfigId );
if ( generateExecutor.isShutdown() || generateExecutor.isTerminated() )
{
logger.info( "new generateExecutor" );
logger.debug( "New generateExecutor" );
newGenerateExecutor();
}
if ( downloadExecutor.isShutdown() || downloadExecutor.isTerminated() )
{
logger.info( "new downloadExecutor" );
logger.debug( "New downloadExecutor" );
newDownloadExecutor();
}
CompletableFuture<Void> future = CompletableFuture.runAsync( () -> {
Expand Down Expand Up @@ -195,7 +195,7 @@ public void generate( HistoricalContentDTO content )
// If timeout happens on generation, cancel and remove the status to make sure following generation
removeStatus( buildConfigId );
cleanupBCWorkspace( buildConfigId );
logger.warn( "Generation timeout for buildConfigId {}, try to shut down the generation executor",
logger.warn( "Generation timeout for buildConfigId {}, try to shut down the generation executor.",
buildConfigId );
generateExecutor.shutdownNow();
downloadExecutor.shutdownNow();
Expand Down Expand Up @@ -310,7 +310,7 @@ public void cleanup()
artifact.delete();
}
dir.delete();
logger.info( "Temporary workplace {} cleanup is finished.", contentDir );
logger.info( "All temporary workplace {} cleanup is finished from cleanup request.", contentDir );
}

public void cleanupBCWorkspace( String buildConfigId )
Expand Down

0 comments on commit c9c9f94

Please sign in to comment.