Comments (5)
Hi Lars,
That is sort of expected, but a little surprising. Method calls are run in an executor so that they don't block the mainloop when being processed. This is used to avoid possible deadlocks when method calls call methods on other applications which may call back to us, among other things.
If you don't set the executor (which you can do by passing an argument to the Method init method) it will use the default executor which is a thread-pool.
I would expect that once you hit the maximum threads in your default thread-pool it should start re-using them.
The surprising thing; to me at least, is that it doesn't reuse them as soon as they are available. I guess that's just how it works. We have a lot of test hours on this library and haven't seen massive amounts threads spawned on our systems so I think it's all working correctly, but I will start taking a closer look at it now on our running systems.
Thanks!
Charles
from adbus.
Okay thanks for the feedback. I can also see that you sometime ago has added the ability to use a different executor.
When will you tag a new release? I can also see that https://pypi.org/project/adbus/ is on a v1.0.1.
It will be so easier for me to use a released version when creating an upstreamed rule in the ptxdist(https://www.ptxdist.org/)
Again thanks for the great work!
Regards
Lars Pedersen..
from adbus.
Sure, I just created a new release 1.1.2 and uploaded it to PyPi, or at least I think I did. I have to re-learn how to do it every-time.
from adbus.
Thanks. Looks like you have lost the LICENSE file in the src on pypi?
from adbus.
Thanks! Just updated it with 1.1.3.
from adbus.
Related Issues (20)
- Rare Signature Decode Memory Error HOT 3
- Please document why the library wants Python >= 3.7. HOT 5
- adbus.sdbus.SdbusError: Failed to enter array b'y' HOT 3
- Segfault in __pyx_f_5adbus_5sdbus_call_callback HOT 11
- Invalid read of size 1 in message.pyx HOT 1
- Python 3.5 compatibility? HOT 2
- NoReply: Method call timed out HOT 13
- Typing problem in `signal2` in the Readme server example code HOT 1
- `depreciated` and `deprectiated` parameters/properties should be spelled `deprecated` HOT 2
- Active Listen object is garbage collected HOT 3
- Failed to read value with signature s HOT 10
- new release HOT 1
- systemd dbus activation timeout on first try HOT 3
- travis integration is broken HOT 5
- Watch signal events HOT 2
- getting error while installing on ubuntu HOT 5
- Exception caused by typing issue when running example code HOT 2
- DepreciationWarning Python 3.8 HOT 2
- Dbus server method with an unsigned int HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adbus.