mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 23:52:11 +00:00
13 lines
273 B
Bash
13 lines
273 B
Bash
|
#!/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"
|