Resolving bug #27319

This commit is contained in:
Luca Frosini 2024-05-07 11:45:16 +02:00
parent e664ac8388
commit 840bd00275
3 changed files with 8 additions and 2 deletions

View File

@ -2,6 +2,12 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
# Changelog for Smart Executor Service
## [3.2.1-SNAPSHOT]
- Fixed bug on concurrent attempt to enter in a session while trying to schedule a second task #27319
- Fixed bug on concurrent attempt to enter in a session while trying to execute another task #24116
## [v3.2.0]
- Fixed RequestFilter to avoid to remove info to Smartgears

View File

@ -11,7 +11,7 @@
<groupId>org.gcube.vremanagement</groupId>
<artifactId>smart-executor</artifactId>
<version>3.2.0</version>
<version>3.2.1-SNAPSHOT</version>
<name>SmartExecutor</name>
<description>Smart Executor Service allows to launch recurrent tasks such as task for infrastructure management, healthy monitoring etc.</description>
<packaging>war</packaging>

View File

@ -134,7 +134,7 @@ public class SmartExecutorInitializator implements ApplicationManager {
Thread thread = new Thread(){
@Override
public void run(){
public synchronized void run(){
LaunchParameter launchParameter = scheduledTask.getLaunchParameter();
try {