[rygel] renderer: Lower ChangeLog timeout
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] renderer: Lower ChangeLog timeout
- Date: Thu, 10 Oct 2013 11:09:25 +0000 (UTC)
commit 9afc2f5630605298c762e90381663d2f7b37ac5a
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]