Skip to content

Commit

Permalink
metadump last access in unixtime
Browse files Browse the repository at this point in the history
... instead of reltime.
  • Loading branch information
dormando committed Aug 20, 2016
1 parent 0c425b1 commit bb77528
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions items.c
Original file line number Diff line number Diff line change
Expand Up @@ -1358,10 +1358,10 @@ static void item_crawler_metadump(item *it, uint32_t hv, int i) {
// TODO: uriencode directly into the buffer.
uriencode(ITEM_key(it), keybuf, it->nkey, KEY_MAX_LENGTH * 3 + 1);
int total = snprintf(crawler_client.cbuf, 4096,
"key=%s exp=%ld la=%u cas=%llu fetch=%s\n",
"key=%s exp=%ld la=%llu cas=%llu fetch=%s\n",
keybuf,
(it->exptime == 0) ? -1 : (long)it->exptime + process_started,
it->time,
(unsigned long long)it->time + process_started,
(unsigned long long)ITEM_get_cas(it),
(it->it_flags & ITEM_FETCHED) ? "yes" : "no");
refcount_decr(&it->refcount);
Expand Down

0 comments on commit bb77528

Please sign in to comment.