python-matrix-bot-api icon indicating copy to clipboard operation
python-matrix-bot-api copied to clipboard

Event based system instead of polling ?

Open obiwankennedy opened this issue 6 years ago • 1 comments

Hello !

Thanks for you work!

Is there a way to make the bot working on event base mode instead of polling ? or adjusting the polling frequency ?

I implement a dice roller bot but it is very slow. The time between the command and the notification of my bot is too long.

How can i reduce it ?

Regards

obiwankennedy avatar May 31 '18 12:05 obiwankennedy

I believe the matrix protocol is inherently dependent on polling.

The actual API interaction is handled by matrix-python-sdk. On first glance, I don't see any easy way to adjust the polling frequency, but there should be some way to configure it.

shawnanastasio avatar Jan 22 '19 04:01 shawnanastasio