minio-java icon indicating copy to clipboard operation
minio-java copied to clipboard

Method execution takes a long time

Open SK-XFY opened this issue 4 years ago • 3 comments

A Mian method,use openJDK 17.0.1

image

After all the code is executed, it takes 2 minutes for the JVM to shut down. I use version 7.0. I don't mention this

image

SK-XFY avatar Jul 11 '22 02:07 SK-XFY

The same is true with jdk8. The JVM cannot exit immediately after the program is executed

SK-XFY avatar Jul 11 '22 03:07 SK-XFY

It seems that okhttp has been waiting for the thread

image

SK-XFY avatar Jul 11 '22 03:07 SK-XFY

How did you solve this issue?

alonso-estevam avatar Jan 31 '23 15:01 alonso-estevam