underrate commited on
Commit
15e4e19
ยท
verified ยท
1 Parent(s): 3846a16

Upload start.sh

Browse files
Files changed (1) hide show
  1. start.sh +7 -1
start.sh CHANGED
@@ -107,7 +107,9 @@ cat > /root/.openclaw/openclaw.json << EOF
107
  "agents": {
108
  "defaults": {
109
  "model": { "primary": "${PROVIDER_NAME}/${MODEL_ID}" },
110
- "workspace": "/root/.openclaw/workspace"
 
 
111
  }
112
  },
113
  "commands": { "native": "auto", "nativeSkills": "auto", "restart": false },
@@ -200,8 +202,12 @@ if [ -n "$MEMORY_REPO_URL" ] && [ -n "$MEMORY_REPO_TOKEN" ]; then
200
  cat > .gitignore << 'IGNORE'
201
  node_modules/
202
  .env
 
203
  IGNORE
204
 
 
 
 
205
  while true; do
206
  # Sync every 30 seconds
207
  sleep 30
 
107
  "agents": {
108
  "defaults": {
109
  "model": { "primary": "${PROVIDER_NAME}/${MODEL_ID}" },
110
+ "workspace": "/root/.openclaw/workspace",
111
+ "timeoutSeconds": 300,
112
+ "lockTimeoutMs": 120000
113
  }
114
  },
115
  "commands": { "native": "auto", "nativeSkills": "auto", "restart": false },
 
202
  cat > .gitignore << 'IGNORE'
203
  node_modules/
204
  .env
205
+ *.jsonl.lock
206
  IGNORE
207
 
208
+ # Untrack any lock files that may have accidentally been added previously
209
+ find "$OPENCLAW_DIR" -type f -name "*.jsonl.lock" -exec git rm --cached {} + 2>/dev/null || true
210
+
211
  while true; do
212
  # Sync every 30 seconds
213
  sleep 30