15 lines
537 B
Plaintext
15 lines
537 B
Plaintext
# A runner that starts a virtual thread and returns: readiness does not wait, and failures do not fail startup
|
|
|
|
|
|
--- the background work is still waiting ---
|
|
has SpringApplication.run() returned? true
|
|
GET /actuator/health/readiness -> 200 {"status":"UP"}
|
|
|
|
--- after the background work threw ---
|
|
GET /actuator/health/readiness -> 200 {"status":"UP"}
|
|
GET /ping -> 200 pong
|
|
|
|
--- trace ---
|
|
runner: started the work on a virtual thread and returned
|
|
background work on a virtual thread failed: the warm-up blew up
|