This commit is contained in:
		@@ -24,10 +24,10 @@ 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) {
 | 
				
			||||||
            val job = GlobalScope.launch {
 | 
					 | 
				
			||||||
            println("Starting benchmark")
 | 
					            println("Starting benchmark")
 | 
				
			||||||
            startTime = Instant.now()
 | 
					            startTime = Instant.now()
 | 
				
			||||||
            while (elapsed < targetTime) {
 | 
					            while (elapsed < targetTime) {
 | 
				
			||||||
 | 
					                val job = GlobalScope.launch {
 | 
				
			||||||
                    uploader.uploadData(currIter)
 | 
					                    uploader.uploadData(currIter)
 | 
				
			||||||
                    currIter += 1
 | 
					                    currIter += 1
 | 
				
			||||||
                    currTimeStamp = Instant.now()
 | 
					                    currTimeStamp = Instant.now()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user