mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 09:11:58 +00:00
28c9c32e1b
[CE/SP] `cron` jobs for Full Project History GitOrigin-RevId: 1f52bd4baaed5856193cd3babfe2c95865b25cf8
11 lines
304 B
Bash
Executable file
11 lines
304 B
Bash
Executable file
#!/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"
|