From a3a898715b2683b9c59453ebbeabe4b8b8725c52 Mon Sep 17 00:00:00 2001 From: Minyewoo Date: Sat, 7 Oct 2023 17:25:36 +0300 Subject: [PATCH] Decreased timeout duration --- lib/src/request/api_request.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/request/api_request.dart b/lib/src/request/api_request.dart index dde768f..a36916d 100644 --- a/lib/src/request/api_request.dart +++ b/lib/src/request/api_request.dart @@ -70,7 +70,7 @@ class ApiRequest { List message = []; final subscription = socket .timeout( - const Duration(milliseconds: 3000), + const Duration(milliseconds: 500), onTimeout: (sink) { sink.close(); },