• Pierre Chambart's avatar
    Teamwork: Prevent leaks with never_ending · ce926e57
    Pierre Chambart authored
    Lwt_utils.never_ending is a global variable, hence a GC root. A promise
    created by binding it cannot ever be garbage collected. This fixes the
    known leak in the baker an endorser by allocating a fresh one for each
    use (by turning it into a function). This porbably fix other slower
    leaks.
    
    High five Klakplok and Vincent.
    ce926e57
Name
Last commit
Last update
..
test Loading commit data...
jbuild Loading commit data...
moving_average.ml Loading commit data...
moving_average.mli Loading commit data...
p2p.ml Loading commit data...
p2p.mli Loading commit data...
p2p_acl.ml Loading commit data...
p2p_acl.mli Loading commit data...
p2p_io_scheduler.ml Loading commit data...
p2p_io_scheduler.mli Loading commit data...
p2p_maintenance.ml Loading commit data...
p2p_maintenance.mli Loading commit data...
p2p_peer_state.ml Loading commit data...
p2p_peer_state.mli Loading commit data...
p2p_point_state.ml Loading commit data...
p2p_point_state.mli Loading commit data...
p2p_pool.ml Loading commit data...
p2p_pool.mli Loading commit data...
p2p_socket.ml Loading commit data...
p2p_socket.mli Loading commit data...
p2p_welcome.ml Loading commit data...
p2p_welcome.mli Loading commit data...
tezos-p2p.opam Loading commit data...