count to three before starting
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Torma Kristóf 2020-10-22 02:29:39 +02:00
parent 4d0920c40f
commit 89504a99ca
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
1 changed files with 2 additions and 1 deletions

View File

@ -26,8 +26,9 @@ fun Application.module(testing: Boolean = false) {
val uploader = Uploader()
val processResults = ProcessResults()
environment.monitor.subscribe(ApplicationStarted) {
println("Starting benchmark")
val job = GlobalScope.launch {
delay(3000L)
println("Starting benchmark")
while(elapsed > targetTime){
println(currIter)
uploader.uploadData(currIter, gson, cachedFile)