Process Queue

Process pending messages in the repricing queue.

HTTP: POST /queue/process

Query parameters

NameTypeRequiredDescriptionExample
limitintegernoMaximum number of messages to process (default: 10, max: 100).10

Notes

Sample request

curl -X POST https://admin.elpricing.com/api/queue/process
  -H "Authorization: ApiKey YOUR_API_KEY"
  -H "Content-Type: application/json"
  -d '{"limit":10}'

Interactive call

Queue workflow

Tasks are persisted to var/api_queue/tasks.json. Process them with:

php go.php cron:list\nphp go.php cron:go

Logs are written to var/api_queue/logs/{task_id}.log.