• antirez's avatar
    Update PR #6537 patch to for generality. · 824f5f0b
    antirez authored
    After the thread in #6537 and thanks to the suggestions received, this
    commit updates the original patch in order to:
    
    1. Solve the problem of updating the time in multiple places by updating
    it in call().
    2. Avoid introducing a new field but use our cached time.
    
    This required some minor refactoring to the function updating the time,
    and the introduction of a new cached time in microseconds in order to
    use less gettimeofday() calls.
    824f5f0b
rdb.c 95.6 KB