remove thread sleep

This commit is contained in:
kimscott
2020-02-07 09:50:38 +09:00
parent 5a126c4689
commit afa1b047fe

View File

@@ -54,11 +54,11 @@ public class ProductController {
count++;
logger.info(String.format("product start from %s: %d", HOSTNAME, count));
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
// try {
// Thread.sleep(900);
// } catch (InterruptedException e) {
// e.printStackTrace();
// }
return ResponseEntity.ok(String.format(RESPONSE_STRING_FORMAT, HOSTNAME, count));
}