From: Szymon Janc <szymon.janc@tieto.com>
To: linux-bluetooth@vger.kernel.org
Cc: Szymon Janc <szymon.janc@tieto.com>
Subject: [PATCH] android: Make shutdown timeout shorter
Date: Thu, 8 Jan 2015 11:16:10 +0100 [thread overview]
Message-ID: <1420712170-14973-1-git-send-email-szymon.janc@tieto.com> (raw)
Android L is using 8 seconds for both enable and disable timeouts.
Set daemon shutdown timeout to 5 seconds to make sure we fit into
framework timeout in case things goes wrong.
---
android/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/android/main.c b/android/main.c
index 58dd9ab..ec28742 100644
--- a/android/main.c
+++ b/android/main.c
@@ -70,7 +70,7 @@
#define DEFAULT_NAME "BlueZ for Android"
#define STARTUP_GRACE_SECONDS 5
-#define SHUTDOWN_GRACE_SECONDS 10
+#define SHUTDOWN_GRACE_SECONDS 5
static char *config_vendor = NULL;
static char *config_model = NULL;
--
1.9.1
next reply other threads:[~2015-01-08 10:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-08 10:16 Szymon Janc [this message]
2015-01-13 13:49 ` [PATCH] android: Make shutdown timeout shorter Szymon Janc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1420712170-14973-1-git-send-email-szymon.janc@tieto.com \
--to=szymon.janc@tieto.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox