Pre-Submission Checklist
- [ X] Commit message has the format required by CONTRIBUTING guide
- [ X] Commits are split per component (core, individual modules, libs, utils, ...)
- [ X] Each component has a single commit (if not, squash them into one commit)
- [ X] No commits to README files for modules (changes must be done to docbook files
in doc/
subfolder, the README file is autogenerated)
Type Of Change
Checklist:
Description
Operations performed in async workers can be blocking (e.g. DB inserts). Sometimes, under high load, this can lead the unix socket queues to be full, thus blocking the main workers. With this new parameter we can have the choice to open the socket pair in non blocking mode, so returning an error if the task cannot be sent to the async workers.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1654
Commit Summary
- core: new parameter async_nonblock
- async,db_mysql,db_unixodbc: return -1 and free memory if sending task to the async worker fails
File Changes
Patch Links:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.