diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-23 01:16:31 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-23 01:17:55 +0100 |
commit | 7079cfeffb6d520f20ddff53fd78467e72e6cc94 (patch) | |
tree | 4762322f62febd444e01def3e6bfb771d2887422 /src/core | |
parent | a92ccc5ba22ec40fee560a46c478321d1c5df5af (diff) |
importd: when listing transfers, show progress percentage
With this change the pull protocol implementation processes will pass
progress data to importd which then passes this information on via the
bus. We use sd_notify() as generic transport for this communication,
making importd listen to them, while matching the incoming messages to
the right transfer.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/manager.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index 4f771396a0..e2df91196e 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -84,9 +84,6 @@ #define JOBS_IN_PROGRESS_PERIOD_USEC (USEC_PER_SEC / 3) #define JOBS_IN_PROGRESS_PERIOD_DIVISOR 3 -#define NOTIFY_FD_MAX 768 -#define NOTIFY_BUFFER_MAX PIPE_BUF - static int manager_dispatch_notify_fd(sd_event_source *source, int fd, uint32_t revents, void *userdata); static int manager_dispatch_signal_fd(sd_event_source *source, int fd, uint32_t revents, void *userdata); static int manager_dispatch_time_change_fd(sd_event_source *source, int fd, uint32_t revents, void *userdata); |