count to three before starting
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@@ -26,8 +26,9 @@ fun Application.module(testing: Boolean = false) {
 | 
				
			|||||||
        val uploader = Uploader()
 | 
					        val uploader = Uploader()
 | 
				
			||||||
        val processResults = ProcessResults()
 | 
					        val processResults = ProcessResults()
 | 
				
			||||||
        environment.monitor.subscribe(ApplicationStarted) {
 | 
					        environment.monitor.subscribe(ApplicationStarted) {
 | 
				
			||||||
            println("Starting benchmark")
 | 
					 | 
				
			||||||
            val job = GlobalScope.launch {
 | 
					            val job = GlobalScope.launch {
 | 
				
			||||||
 | 
					                delay(3000L)
 | 
				
			||||||
 | 
					                println("Starting benchmark")
 | 
				
			||||||
                while(elapsed > targetTime){
 | 
					                while(elapsed > targetTime){
 | 
				
			||||||
                    println(currIter)
 | 
					                    println(currIter)
 | 
				
			||||||
                    uploader.uploadData(currIter, gson, cachedFile)
 | 
					                    uploader.uploadData(currIter, gson, cachedFile)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user