Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // If block is very close, allow full maximum
- if(d <= BLOCK_SEND_DISABLE_LIMITS_MAX_D)
- max_simul_dynamic = max_simul_sends_setting;
- // Don't select too many blocks for sending
- if(num_blocks_selected >= max_simul_dynamic)
- {
- queue_is_full = true;
- goto queue_full_break;
- }
- // Don't send blocks that are currently being transferred
- if(m_blocks_sending.find(p) != NULL)
- continue;
- /*
- Do not go over-limit
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement