mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #11448 from overleaf/msm-sp-cron
[CE/SP] `cron` jobs for Full Project History GitOrigin-RevId: 1f52bd4baaed5856193cd3babfe2c95865b25cf8
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eux
|
||||
|
||||
echo "--------------------------"
|
||||
echo "Flush project-history queue"
|
||||
echo "--------------------------"
|
||||
date
|
||||
|
||||
PROJECT_HISTORY_URL='http://localhost:3054'
|
||||
|
||||
curl -X POST "${PROJECT_HISTORY_URL}/flush/old?timeout=3600000&limit=5000&background=1"
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eux
|
||||
|
||||
echo "-----------------------------------"
|
||||
echo "Retry project-history errors (hard)"
|
||||
echo "-----------------------------------"
|
||||
date
|
||||
|
||||
PROJECT_HISTORY_URL='http://localhost:3054'
|
||||
|
||||
curl -X POST "${PROJECT_HISTORY_URL}/retry/failures?failureType=hard&timeout=3600000&limit=10000"
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user