Skip to content
  • Stavros Sachtouris's avatar
    Gradual thread inc/decrease in up/download · cad39033
    Stavros Sachtouris authored
    Thread inc/decrease is now generic for all clients that might need it
    with the method _watch_thread_limit
    
    Algorithm: set a small thread limit and when reached wait for active threads to
    finish. Measure avg time. If avg time decreases, increase thread limit
    If avg time increases, decrease thread limit.
    cad39033