Merge pull request #487 from TeamPiped/remove-debug

Remove debug print code.
This commit is contained in:
Kavin 2022-12-14 14:45:53 +00:00 committed by GitHub
commit 0c9f54090c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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();