Don't garbage collect UDP
This commit is contained in:
parent
5c7f949507
commit
1ee6727a98
2 changed files with 2 additions and 2 deletions
|
@ -346,7 +346,7 @@ void on_timeout_health (struct evt_core_ctx* ctx, void* raw) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int algo_rr_on_err(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdinfo) {
|
int algo_rr_on_err(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdinfo) {
|
||||||
// We do nothing
|
if (strstr(fdinfo->cat->name, "udp") != NULL) return 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue