mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 16:03:37 -05: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"
|