Commit c12fc02a authored by Vladimír Čunát's avatar Vladimír Čunát

worker: disable assertion that we can't fix immediately

Production kresd should compile with -DNDEBUG, so it wouldn't be
affected by this, but it was annoying for debugging other problems.
See #245
parent f2b628cf
Pipeline #16173 failed with stages
in 24 minutes and 5 seconds
......@@ -101,7 +101,8 @@ static uv_handle_t *ioreq_spawn(struct qr_task *task, int socktype, sa_family_t
bool precond = (socktype == SOCK_DGRAM || socktype == SOCK_STREAM)
&& (family == AF_INET || family == AF_INET6);
if (!precond) {
/* assert(false); see #245 */
kr_log_verbose("[work] ioreq_spawn: pre-condition failed\n");
return NULL;
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