Created
July 25, 2018 15:25
-
-
Save deque-blog/4bd8ca9357b62feb3d2dee110e818be8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void pollSweeperTable(Session session) { | |
List<Message> unsentMessages = messageRepository.fetchUnsentMessages(); | |
for (Message message : unsentMessages) | |
sendMessage(session, message); | |
messageRepository.markSent(unsentMessages); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment