Commit c2523a05 authored by Wayne Davison's avatar Wayne Davison

Don't call maybe_flush_socket() quite so often.

parent 92739a0a
......@@ -1206,7 +1206,7 @@ void generate_files(int f_out, struct file_list *flist, char *local_name)
if (allowed_lull && !(i % lull_mod))
maybe_send_keepalive();
else if (!(i % 50))
else if (!(i % 200))
maybe_flush_socket();
}
recv_generator(NULL, NULL, 0, 0, 0, code, -1);
......@@ -1284,7 +1284,7 @@ void generate_files(int f_out, struct file_list *flist, char *local_name)
maybe_PERMS_REPORT, code, -1);
if (allowed_lull && !(++j % lull_mod))
maybe_send_keepalive();
else if (!(j % 50))
else if (!(j % 200))
maybe_flush_socket();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment