diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-04-06 10:50:46 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-04-06 10:50:46 +0200 |
commit | 354362c46bf436bb47fe6bd4be99321406119fa2 (patch) | |
tree | b161da21bcea4ad2bb4f71f6d9f70b16ae2b3469 /src/journal-remote/journal-upload.h | |
parent | d4337c15d5835c8eecf079bd5173f8b5c51727c7 (diff) | |
parent | 0aa176a751a00b5645007c4d0763078ce2824aba (diff) |
Merge pull request #2968 from keszybz/journal-upload-watchdog-update-master
Journal upload watchdog update master
Diffstat (limited to 'src/journal-remote/journal-upload.h')
-rw-r--r-- | src/journal-remote/journal-upload.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/journal-remote/journal-upload.h b/src/journal-remote/journal-upload.h index b8cd04d527..5711905f86 100644 --- a/src/journal-remote/journal-upload.h +++ b/src/journal-remote/journal-upload.h @@ -4,6 +4,7 @@ #include "sd-event.h" #include "sd-journal.h" +#include "time-util.h" typedef enum { ENTRY_CURSOR = 0, /* Nothing actually written yet. */ @@ -48,6 +49,8 @@ typedef struct Uploader { size_t entries_sent; char *last_cursor, *current_cursor; + usec_t watchdog_timestamp; + usec_t watchdog_usec; } Uploader; #define JOURNAL_UPLOAD_POLL_TIMEOUT (10 * USEC_PER_SEC) |