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

Log instance caching timeout is too low #125

Open
frague59 opened this issue Jan 25, 2022 · 1 comment
Open

Log instance caching timeout is too low #125

frague59 opened this issue Jan 25, 2022 · 1 comment

Comments

@frague59
Copy link

Hi,

While debugging an application using django-fsm-log, an error occurs at the end of the transition process, about the cached log instance is None, as the timeout only 10 seconds, which is too low for a "normal" debugging session.

I' would be nice to make this timeout configurable (for debugging purpose), and to get it from django settings.

I'll propose a PR for this...

Thanks !

@ticosax
Copy link
Member

ticosax commented Jan 25, 2022

I'm not opposed to make the cache duration configurable.
I never used the CacheBackend in our projects. I can't tell much. Feel free to make a pull request and we will take it from there.

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