overleaf/server-ce/cron/project-history-retry-soft.sh

12 lines
304 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -eux
echo "-----------------------------------"
echo "Retry project-history errors (soft)"
echo "-----------------------------------"
PROJECT_HISTORY_URL='http://localhost:3054'
curl -X POST "${PROJECT_HISTORY_URL}/retry/failures?failureType=hard&timeout=3600000&limit=10000"