• Robert Haas's avatar
    Make walsender more responsive. · f83b5999
    Robert Haas authored
    Per testing by Andres Freund, this improves replication performance
    and reduces replication latency and latency jitter.  I was a bit
    concerned about moving more work into XLogInsert, but testing seems
    to show that it's not a problem in practice.
    
    Along the way, improve comments for WaitLatchOrSocket.
    
    Andres Freund.  Review and stylistic cleanup by me.
    f83b5999
unix_latch.c 17.9 KB