I have a method in my application that is executed every 5 ms (using the @Scheduled (fixedDelay = 5)). It gets from the DB entity and changes its status depending o
@Scheduled (fixedDelay = 5)