• antirez's avatar
    Update PR #6537 patch to for generality. · 33f42665
    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.
    33f42665
server.h 96.6 KB