Remove debug print code.

This commit is contained in:
Kavin 2022-12-14 14:45:28 +00:00
parent 47b938433e
commit 2467946471
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -124,11 +124,8 @@ public class Main {
.getResultStream()
.parallel()
.forEach(id -> Multithreading.runAsyncLimitedPubSub(() -> {
System.out.println(id);
if (StringUtils.isBlank(id) || !id.matches("UC[A-Za-z\\d_-]{22}"))
return;
else
System.out.println("Subscribing to " + id);
try (StatelessSession sess = DatabaseSessionFactory.createStatelessSession()) {
var pubsub = new PubSub(id, -1);
var tr = sess.beginTransaction();