|
|
@@ -20,15 +20,16 @@ return [
|
|
|
| Workload Queue Names
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
- | Keep browser-visible PDF generation isolated from CPU/DB side work. The
|
|
|
- | defaults match docker-compose.yml: math_cms_queue consumes "default",
|
|
|
- | while math_cms_pdf consumes "pdf".
|
|
|
+ | Defaults match the current multi-server production topology: only the PDF
|
|
|
+ | worker fleet consumes "pdf" at scale, while the main server has one
|
|
|
+ | default worker. Move analysis to another queue only after deploying
|
|
|
+ | workers for that queue on the PDF/worker nodes.
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
'workloads' => [
|
|
|
'pdf' => env('QUEUE_PDF', 'pdf'),
|
|
|
- 'exam_answer_analysis' => env('QUEUE_EXAM_ANSWER_ANALYSIS', 'default'),
|
|
|
+ 'exam_answer_analysis' => env('QUEUE_EXAM_ANSWER_ANALYSIS', 'pdf'),
|
|
|
'question_difficulty_calibration' => env('QUEUE_QUESTION_DIFFICULTY_CALIBRATION', 'default'),
|
|
|
'question_difficulty_calibration_delay_seconds' => (int) env('QUEUE_QUESTION_DIFFICULTY_CALIBRATION_DELAY_SECONDS', 30),
|
|
|
],
|