Automated retry of php curl requests using a persistent queue system