1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2024-12-04 16:24:05 -05:00
overleaf/server-ce/cron/project-history-periodic-flush.sh
Miguel Serrano c22e6a5926 Merge pull request from overleaf/bg-ipv6-fix-editing
Force services to use ipv4 in server-ce container

GitOrigin-RevId: 9cf2734f8506bba15ef3ac11060508d2604d09ad
2024-04-04 08:04:06 +00:00

12 lines
273 B
Bash
Executable file

#!/usr/bin/env bash
set -eux
echo "--------------------------"
echo "Flush project-history queue"
echo "--------------------------"
date
PROJECT_HISTORY_URL='http://127.0.0.1:3054'
curl -X POST "${PROJECT_HISTORY_URL}/flush/old?timeout=3600000&limit=5000&background=1"