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

SQLALCHEMY_TRACK_MODIFICATIONS - Deprecation warning. #144

Open
karlcow opened this issue Mar 8, 2021 · 0 comments
Open

SQLALCHEMY_TRACK_MODIFICATIONS - Deprecation warning. #144

karlcow opened this issue Mar 8, 2021 · 0 comments

Comments

@karlcow
Copy link
Member

karlcow commented Mar 8, 2021

@laghee I wonder if we will need to do something about this at a point.

 Mar 08 03:11:15 webcompat-metrics app/api Starting process with command `python3 bin/get_count.py needsdiagnosis` by user scheduler@addons.heroku.com
Mar 08 03:11:20 webcompat-metrics heroku/scheduler.8981 Starting process with command `python3 bin/get_count.py needsdiagnosis`
Mar 08 03:11:21 webcompat-metrics heroku/scheduler.8981 State changed from starting to up
Mar 08 03:11:25 webcompat-metrics app/scheduler.8981 /app/.heroku/python/lib/python3.9/site-packages/flask_sqlalchemy/__init__.py:833: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future.  Set it to True or False to suppress this warning.
Mar 08 03:11:25 webcompat-metrics app/scheduler.8981   warnings.warn(FSADeprecationWarning(
Mar 08 03:11:26 webcompat-metrics app/scheduler.8981 (2021-03-08  03:11:25 +0000) INFO: Successfully wrote MILESTONE needsdiagnosis count for 2021-03-08T03:11:24Z to IssuesCount table.
Mar 08 03:11:26 webcompat-metrics heroku/scheduler.8981 Process exited with status 0
Mar 08 03:11:26 webcompat-metrics heroku/scheduler.8981 State changed from up to complete

https://stackoverflow.com/questions/33738467/how-do-i-know-if-i-can-disable-sqlalchemy-track-modifications/33790196#33790196
And pallets-eco/flask-sqlalchemy#351

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

1 participant