This commit is contained in:
		
					parent
					
						
							
								29f79a8771
							
						
					
				
			
			
				commit
				
					
						2a65e9dbcb
					
				
			
		
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -43,7 +43,6 @@ public class VersionScanner extends CompletableFuture<VersionedResource> {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    private void start() {
 | 
			
		||||
        //System.out.printf("STarting for %d %s\n", resource.resourceId(), resource.plugin().getName());
 | 
			
		||||
        DebugLogger.finer("Scanning %s (#%d) from page %d", resource.name(), resource.resourceId(), fromPage);
 | 
			
		||||
 | 
			
		||||
        try (ExecutorService executor = Executors.newSingleThreadExecutor()) {
 | 
			
		||||
| 
						 | 
				
			
			@ -54,7 +53,7 @@ public class VersionScanner extends CompletableFuture<VersionedResource> {
 | 
			
		|||
 | 
			
		||||
                    int page;
 | 
			
		||||
                    for (page = fromPage; page < 1000; page++) {
 | 
			
		||||
                        DebugLogger.finer("Scan %s now at page %d", resource.name(), fromPage);
 | 
			
		||||
                        DebugLogger.finer("Scan %s now at page %d", resource.name(), page);
 | 
			
		||||
 | 
			
		||||
                        String url = "https://api.spigotmc.org/simple/0.2/index.php?action=getResourceUpdates&page=%d&id=%d".formatted(page, resource.resourceId());
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue