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

How to use this session local with Scene #153

Closed
zain-ul-abideen-ca opened this issue Jun 21, 2021 · 2 comments
Closed

How to use this session local with Scene #153

zain-ul-abideen-ca opened this issue Jun 21, 2021 · 2 comments

Comments

@zain-ul-abideen-ca
Copy link

I'm currently working on Scene and old session system of telegraf is deprecated so can you tell me how to utilize this library with scene.

@EdJoPaTo
Copy link
Collaborator

I am not familiar with the scenes of telegraf but the session of telegraf (which is deprecated) and this library are doing basically the same on the bot side of things. Just the location of the data is different (basically memory vs disk).

The reason for the deprecation of the session are race conditions. This library also has them so if you are avoiding the telegraf builtin session for the reason of its deprecation you should also avoid this library.
Check for more details on this deprecation in telegraf/telegraf#1372.

Personally I still use this library and the built in session. You just have to know its limits.

@TemaSM
Copy link
Contributor

TemaSM commented Jan 9, 2023

Thanks for help @EdJoPaTo 👍
Closing now as stale, but if someone wanna ask more - feel free to do so.

@TemaSM TemaSM closed this as completed Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants