Skip to content

Evaluation: Refactoring CRON #493

@AkhileshNegi

Description

@AkhileshNegi

Is your feature request related to a problem?

The evaluation cron job currently loops through each organization to check for in_progress evaluations. While this ensures all organizations are covered, the evaluation table is small enough that we could take a simpler approach.

Describe the solution you'd like

Optimize the evaluation cron job:

  • Query all in_progress evaluations directly instead of looping per organization
  • Add index on status column to speed up the query

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions