lamhieu commited on
Commit
676899f
·
1 Parent(s): f67ddbd

chore: update sync interval time

Browse files
Files changed (1) hide show
  1. lightweight_embeddings/router.py +1 -1
lightweight_embeddings/router.py CHANGED
@@ -147,7 +147,7 @@ embeddings_service = EmbeddingsService(config=service_config)
147
  analytics = Analytics(
148
  url=os.environ.get("REDIS_URL", "redis://localhost:6379/0"),
149
  token=os.environ.get("REDIS_TOKEN", "***"),
150
- sync_interval=60,
151
  )
152
 
153
 
 
147
  analytics = Analytics(
148
  url=os.environ.get("REDIS_URL", "redis://localhost:6379/0"),
149
  token=os.environ.get("REDIS_TOKEN", "***"),
150
+ sync_interval=5 * 60, # 5 minutes
151
  )
152
 
153