clebertsuconic commented on code in PR #5498: URL: https://github.com/apache/activemq-artemis/pull/5498#discussion_r1952804606
########## artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/cursor/impl/PageCursorProviderImpl.java: ########## @@ -275,7 +275,7 @@ protected void cleanup() { try (ArtemisCloseable readLock = storageManager.closeableReadLock()) { while (true) { - if (pagingStore.lock(100)) { + if (pagingStore.writeLock(1_000)) { Review Comment: I did, yes... writeLock will now log.debug (or trace. .don't remember now) in case the lock is not achieved... throwing the log.trace every 100 milliseconds was too much to follow in the logs up to the point debug was more difficult. This is an infinite loop anyway. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For additional commands, e-mail: gitbox-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact