MCPcopy Index your code
hub / github.com/RsyncProject/rsync / set_io_timeout

Function set_io_timeout

io.c:1148–1160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1146}
1147
1148void set_io_timeout(int secs)
1149{
1150 io_timeout = secs;
1151 allowed_lull = (io_timeout + 1) / 2;
1152
1153 if (!io_timeout || allowed_lull > SELECT_TIMEOUT)
1154 select_timeout = SELECT_TIMEOUT;
1155 else
1156 select_timeout = allowed_lull;
1157
1158 if (read_batch)
1159 allowed_lull = 0;
1160}
1161
1162static void check_for_d_option_error(const char *msg)
1163{

Callers 4

parse_argumentsFunction · 0.85
noop_io_until_deathFunction · 0.85
read_a_msgFunction · 0.85
rsync_moduleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected