summaryrefslogtreecommitdiffstats
path: root/lib/mgmt_msg.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-04-22 23:44:22 +0200
committerChristian Hopps <chopps@labn.net>2023-05-28 11:13:22 +0200
commitfff34d7274b12c9f360298c266730a01c46ec743 (patch)
tree5f89e3fe2b7087ca39a653f878ac58cb21633b98 /lib/mgmt_msg.c
parenttests: python-foo assure foo[0] is on a list not dict_values object (diff)
downloadfrr-fff34d7274b12c9f360298c266730a01c46ec743.tar.xz
frr-fff34d7274b12c9f360298c266730a01c46ec743.zip
lib: remove write-on-off, just requeue to the back of the queue
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/mgmt_msg.c')
-rw-r--r--lib/mgmt_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mgmt_msg.c b/lib/mgmt_msg.c
index 3f55f8202..bf694ee88 100644
--- a/lib/mgmt_msg.c
+++ b/lib/mgmt_msg.c
@@ -251,7 +251,7 @@ enum mgmt_msg_wsched mgmt_msg_write(struct mgmt_msg_state *ms, int fd,
dbgtag,
"reached %zu buffer writes, pausing with %zu streams left",
ms->max_write_buf, ms->outq.count);
- return MSW_SCHED_WRITES_OFF;
+ return MSW_SCHED_STREAM;
}
MGMT_MSG_DBG(dbgtag, "flushed all streams from output q");
return MSW_SCHED_NONE;