Add option to disable idle#234
Conversation
|
Thank @Holorium. Here are questions so I understand this better: Do you have an example use case for this? Would unsetting the onupdate method be an alternative? Does make more sense to set this as constructor option or turn it off and on with a connected client? |
|
Hi @nifgraup So unsetting onupdate does not help in this case, because my goal is to reduce server load. And for me, it just makes sense to enable/disable it in the constructor as I am going to open new connections with different settings if needed. |
I don't know if anyone will ever have a look at this, but I just thought to give it a try.
This adds a new option
idlewhich defaults to true and which can be used to prevent the connection from idling.