mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Merge pull request #487 from TeamPiped/remove-debug
Remove debug print code.
This commit is contained in:
commit
0c9f54090c
1 changed files with 0 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue