[ostree] pull: Stay in mainloop if we're synchronously fetching URI
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] pull: Stay in mainloop if we're synchronously fetching URI
- Date: Tue, 29 Apr 2014 15:52:18 +0000 (UTC)
commit 626fc8519ba6251690c125de1f2a5ffc068550c3
Author: Colin Walters <walters verbum org>
Date: Tue Apr 29 09:00:21 2014 -0400
pull: Stay in mainloop if we're synchronously fetching URI
The static deltas work will be doing some synchronous fetching even
after refs are downloaded.
src/libostree/ostree-repo-pull.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c
index 363c2fe..0d9eaf8 100644
--- a/src/libostree/ostree-repo-pull.c
+++ b/src/libostree/ostree-repo-pull.c
@@ -203,7 +203,7 @@ check_outstanding_requests_handle_error (OtPullData *pull_data,
g_main_loop_quit (pull_data->loop);
break;
case OSTREE_PULL_PHASE_FETCHING_OBJECTS:
- if (current_idle)
+ if (current_idle && !pull_data->fetching_sync_uri)
{
g_debug ("pull: idle, exiting mainloop");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]