-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
Cache disk system should use cache_dir not the config_dir
https://github.com/langflow-ai/langflow/blob/main/src/backend/base/langflow/services/cache/factory.py#L40C13-L43C14
return AsyncDiskCache(
cache_dir=settings_service.settings.config_dir,
expiration_time=settings_service.settings.cache_expire,
)
Reproduction
if config_dir is used
multi instance cluster will access the same cache systeme with concurrent access
this can generate
sqlite3.DatabaseError: database disk image is malformed
Expected behavior
use specific cache_dir config
Who can help?
No response
Operating System
OCS
Langflow Version
1.8.0
Python Version
None
Screenshot
No response
Flow File
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working