From 4824b281773084c2a9b7d661996a8a468ca2df39 Mon Sep 17 00:00:00 2001 From: Nebojsa Vuksic Date: Thu, 7 Aug 2025 15:06:16 +0200 Subject: [PATCH] Increase network simulation delay in `WeatherForecastService` to 3000ms for showcasing scenarios. --- .../template/weatherApp/services/WeatherForecastService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/org/jetbrains/plugins/template/weatherApp/services/WeatherForecastService.kt b/src/main/kotlin/org/jetbrains/plugins/template/weatherApp/services/WeatherForecastService.kt index d5ff58b..3d7ff70 100644 --- a/src/main/kotlin/org/jetbrains/plugins/template/weatherApp/services/WeatherForecastService.kt +++ b/src/main/kotlin/org/jetbrains/plugins/template/weatherApp/services/WeatherForecastService.kt @@ -53,7 +53,7 @@ class WeatherForecastService( // Simulates a network request and stops the execution in case the coroutine // that launched the getWeatherData task is canceled - delay(100) + delay(3000) return WeatherForecastData( location = location,