spring-cloud-deployer icon indicating copy to clipboard operation
spring-cloud-deployer copied to clipboard

K8s Task Launcher needs to be thread safe

Open cppwfs opened this issue 1 year ago • 1 comments
trafficstars

Launching task asynchronously can cause task method values to be overwritten when other threads launch at the same time.

In this solution we synchronize the launch method so that launches are thread safe

cppwfs avatar Jan 03 '24 23:01 cppwfs

Refer to issue https://github.com/spring-cloud/spring-cloud-deployer/issues/423

cppwfs avatar Jan 04 '24 16:01 cppwfs