#!/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"