From efe9262a970d18b117a9ad8f155209697c0e93e5 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Thu, 24 Sep 2026 11:49:19 -0400 Subject: [PATCH] tweak timeout --- lib/main.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/main.dart b/lib/main.dart index c91e049..ac9ef22 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -83,8 +83,9 @@ void main(List args) async { if (isInBackground) { await ProviderContainer() .read(UnifiedPushController.provider.future) - .timeout(Duration(seconds: 20), onTimeout: () => false); + .timeout(Duration(seconds: 5)); + await Future.delayed(Duration(seconds: 10)); exit(0); } else { if (Platform.isLinux || Platform.isMacOS || Platform.isWindows) {