-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The maximum number of pending replies per connection has been reached #218
Comments
I also encounter this issue very often, sometimes, if emit signals a lot, it will overflow. However, this package did not provide a way to set up After multiple tests, I found a workaround: create an interface that only has signals. No Methods at all, only signals. Then emitting signals, no this error anymore. I hope it helps others. Would you help check if this is a bug or not as well? |
@chenyanming could you show an example how I can create an interface that only has signals? |
@chenyanming const bus = DBus.getBus('system')
return new Promise((resolve, reject) => {
bus.getInterface('org.freedesktop.systemd1', '/org/freedesktop/systemd1', 'org.freedesktop.systemd1.Manager', (error, manager) => {
if (error) {
return reject(error);
}
resolve(manager);
});
}) |
how can i create with signals only? |
You are accessing the original Bus. I am not sure whether it works or not. But I found the following case could work:
|
Sorry, after a few day tests, the way I mentioned can not work. Would someone suggest the solution? |
https://access.redhat.com/discussions/3536621?tour=8 |
Hello!
How are you?
Do you have any info, how to fix this?
Thanks
The text was updated successfully, but these errors were encountered: