Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update log #57

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading