Replies: 2 comments 3 replies
-
That particular piece of code doesn't use that variable, so no surprises there. But unfortunately, the Docker container has no cache volume so it would be pointless to use it. But I'm surprised it takes this long. Can you tell me more? Are you importing from GoCardless? CSV? |
Beta Was this translation helpful? Give feedback.
-
A mix of both. I'm importing 4 accounts from GoCardLess and 9 from CSV. CSVs do not move a lot maybe once a week. The real important with our daily transactions are used with GCL. Any plans to optimize this? I mean it's only fetching a list of accounts to be stored on a temporary text file haha. Or maybe we would need a redis container alongside it? |
Beta Was this translation helpful? Give feedback.
-
Today while looking at the logs for the csv import issue I did notice the DI is polling all the accounts from FF instance for each imported account.
I remember in the past I did set the env variable USE_CACHE to true but it seems the account caching is not working.
As I'm importing 13 accounts at each run of my instance every day it just takes a huge amount of time fetching the same list every time...
It seems it's also querying directly some names, not sure exactly why but I don't know all the logic in place :-)
DI logs
FF logs
Has this cache variable changed name or does it work along another variable to be set too?
Beta Was this translation helpful? Give feedback.
All reactions