[rygel] core: Use proper time-out on item creation
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Use proper time-out on item creation
- Date: Sat, 25 Feb 2012 13:22:13 +0000 (UTC)
commit 3c62aabf7bebcae4904839aa9c83a1d7692f862a
Author: Jens Georg <mail jensge org>
Date: Sat Feb 25 12:07:51 2012 +0200
core: Use proper time-out on item creation
src/rygel/rygel-http-post.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/rygel/rygel-http-post.vala b/src/rygel/rygel-http-post.vala
index 5a3a5f0..d47b5dd 100644
--- a/src/rygel/rygel-http-post.vala
+++ b/src/rygel/rygel-http-post.vala
@@ -130,7 +130,7 @@ internal class Rygel.HTTPPost : HTTPRequest {
if (item.place_holder) {
uint source_id = 0;
- source_id = Timeout.add_seconds (30, () => {
+ source_id = Timeout.add_seconds (timeout, () => {
debug ("Timeout on waiting for 'updated' signal on '%s'.",
container.id);
source_id = 0;
@@ -193,7 +193,7 @@ internal class Rygel.HTTPPost : HTTPRequest {
return;
}
- yield wait_for_item (this.item.parent, this.item.id, 30);
+ yield wait_for_item (this.item.parent, this.item.id, 5);
this.server.unpause_message (this.msg);
this.end (KnownStatusCode.OK);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]