[rygel/rygel-0-20] renderer: Lower ChangeLog timeout
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/rygel-0-20] renderer: Lower ChangeLog timeout
- Date: Mon, 14 Oct 2013 10:13:02 +0000 (UTC)
commit 14e7846ca274f022eb36e45897707e95eae28b56
Author: Jens Georg <jensg openismus com>
Date: Thu Oct 10 10:48:18 2013 +0200
renderer: Lower ChangeLog timeout
According to DLNA, 200ms is the upper bound of announcing changes caused by
operations through a LastChange event. Since we used 200ms to aggregate
multiple events, sometimes we sent out the LastChange event too late for the
CTT. Moving it down to 150ms seems to improve CTT situation in timing fragile
CTT tests.
src/librygel-renderer/rygel-changelog.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-changelog.vala b/src/librygel-renderer/rygel-changelog.vala
index 602990e..00f4763 100644
--- a/src/librygel-renderer/rygel-changelog.vala
+++ b/src/librygel-renderer/rygel-changelog.vala
@@ -66,7 +66,7 @@ internal class Rygel.ChangeLog : Object {
// Make sure we have a notification timeout
if (this.service != null && this.timeout_id == 0) {
debug ("Setting up timeout for LastChange");
- this.timeout_id = Timeout.add (200, this.timeout);
+ this.timeout_id = Timeout.add (150, this.timeout);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]