You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using apscheduler to do some cron like jobs on my data. I just realized that those actions doesn't seem to go through flask-whooshee, since new created objects are not indexed.
What's the best way to achieve it? Maybe some explicitly triggered indexing?
I honestly have no idea, I've never used apscheduler before. Some things to consider:
How is the scheduler accessing the data? Does it access it through SQLAlchemy methods or does it perhaps do raw queries?
Do scheduled tasks run in the same process as the main flask application? If not, do they have access rights to the location where whooshee stores its data?
If you could show me your application or create a minimal reproducer, I'd find some time to investigate, but I'm shooting blind here and unfortunately I don't have the time to go learn apscheduler and find the reproducer myself.
I am using
apscheduler
to do some cron like jobs on my data. I just realized that those actions doesn't seem to go throughflask-whooshee
, since new created objects are not indexed.What's the best way to achieve it? Maybe some explicitly triggered indexing?
I am using
apscheduler
in my flask app like this:The text was updated successfully, but these errors were encountered: