Skip to content
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

Event based system instead of polling ? #10

Open
obiwankennedy opened this issue May 31, 2018 · 1 comment
Open

Event based system instead of polling ? #10

obiwankennedy opened this issue May 31, 2018 · 1 comment

Comments

@obiwankennedy
Copy link

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

@shawnanastasio
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants