manifest: run the chat key sync every minute, not every ten (co-op/support#40)
The sync seeds each member's gateway key into LibreChat's per-user key store, but it can only seed a user that already exists — and LibreChat creates that row on first login. Ten minutes therefore left a new member's very first message to fail against a key-less endpoint. At one minute the window is at most 60 seconds. Zero would mean patching LibreChat's login path, which is not worth a fork for this.
This commit is contained in:
1 parent
0db50566c7
commit
13c739f311
1 file changed
+1
-1
@@ -25,7 +25,7 @@
|
||||
},
|
||||
"scheduler": {
|
||||
"librechat_key_sync": {
|
||||
"schedule": "*/10 * * * *",
|
||||
"schedule": "* * * * *",
|
||||
"command": "cd /app/code/librechat/api && node /app/code/sync-keys.js"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user