langflow icon indicating copy to clipboard operation
langflow copied to clipboard

TypeError: RedisCache.upsert() got an unexpected keyword argument 'lock'

Open songjinu opened this issue 8 months ago • 4 comments

Describe the bug

  • TypeError: RedisCache.upsert() got an unexpected keyword argument 'lock'
  • I need independent cache server, because I use multi process like uvicorn worker 10.
  • How can i use redis cache.

Browser and Version

  • Browser [chrome]
  • Version [1.0.0a49]

To Reproduce Steps to reproduce the behavior:

  1. set redis cache in .env
LANGFLOW_CACHE_TYPE=redis
LANGFLOW_REDIS_URL=redis://@localhost:6379/0
  1. got error when i build flow.
TypeError: RedisCache.upsert() got an unexpected keyword argument 'lock'

songjinu avatar Jun 11 '24 05:06 songjinu