# Functional Configuration

There are various configurations that can be made via the Batch Service:

* Batch type: Open (users can enroll by themselves)
* Batch Start date and End date and Enrolment End date
* Certificate generation for batch
* Criteria for earning a certificate (minimum score for the course assessment)

Following are the functional [configurations](https://github.com/project-sunbird/sunbird-devops/blob/release-5.4.0-lern/ansible/roles/stack-sunbird/templates/sunbird_lms-service.env)

<table><thead><tr><th width="337.3333333333333">Property</th><th>Description</th><th>Default Value</th></tr></thead><tbody><tr><td>batch_type</td><td>Open (users can enrol by themselves) or</td><td>0</td></tr><tr><td>quartz_course_batch_timer</td><td>cron expression for scheduling batch job</td><td>0 0 0/4 1/1 * ? *</td></tr><tr><td>quartz_upload_timer</td><td>cron expression for scheduling batch job</td><td>0 0 23 1/1 * ? *</td></tr><tr><td>quartz_course_publish_timer</td><td>cron expression for scheduling batch job</td><td>0 0 0/1 1/1 * ? *</td></tr><tr><td>quartz_matrix_report_timer</td><td>cron expression for scheduling batch job</td><td>0 0 0/4 1/1 * ? *</td></tr><tr><td>quartz_shadow_user_migration_timer</td><td>cron expression for scheduling batch job</td><td>0 0 2 1/1 * ? *</td></tr><tr><td>download_link_expiry_timeout</td><td>Duration of the download link in seconds</td><td>300</td></tr><tr><td>quartz_metrics_timer</td><td>cron expression for scheduling batch job</td><td>0 0 0/4 * * ? *</td></tr><tr><td>sunbird_user_bulk_upload_size</td><td>size of user bulk upload data is 1001 including header in csv file</td><td>1001</td></tr><tr><td>bulk_upload_org_data_size</td><td>size of org bulk upload data</td><td>300</td></tr><tr><td>bulk_upload_batch_data_size</td><td>size of batch bulk upload data</td><td>200</td></tr><tr><td>default_date_range</td><td>Date range defaults to 7 days</td><td>7</td></tr><tr><td>sunbird_default_country_code</td><td>Country Code</td><td>+91</td></tr><tr><td>quartz_update_user_count_timer</td><td>cron expression for scheduling batch job</td><td>0 0 2 1/1 * ? *</td></tr><tr><td>sunbird_otp_allowed_attempt</td><td>Default limit of OTP attempts</td><td>2</td></tr><tr><td>searchTopN</td><td>elastic search top n result count for telemetry</td><td>5</td></tr><tr><td>telemetry_queue_threshold_value</td><td>telemetry threshold</td><td>200</td></tr><tr><td>file_upload_max_size</td><td>Bulk upload file max size in MB</td><td>10MB</td></tr><tr><td>cassandra_write_batch_size</td><td>Batch size for cassandra batch operation</td><td>100</td></tr><tr><td>textbook_toc_max_csv_rows</td><td>Textbook TOC</td><td>6500</td></tr><tr><td>sunbird_texbook_toc_csv_ttl</td><td>Textbook TOC</td><td>86400</td></tr><tr><td>sunbird_toc_max_first_level_units</td><td>Textbook TOC Api</td><td>30</td></tr><tr><td>sunbird_otp_expiration</td><td>OTP expiration duration in seconds</td><td>1800</td></tr><tr><td>sunbird_otp_length</td><td>length of the OTP</td><td>6</td></tr><tr><td>sunbird_otp_hour_rate_limit</td><td>In a hour, 5 configured OTPs were allowed</td><td>5</td></tr><tr><td>sunbird_otp_day_rate_limit</td><td>In a day, 20 configured OTPs were allowed</td><td>20</td></tr><tr><td>sunbird_sync_read_wait_time</td><td>wait time in seconds</td><td>1500</td></tr><tr><td>sunbird_course_completion_certificate_name</td><td>Certificate name</td><td>100PercentCompletionCertificate</td></tr><tr><td>enrollment_list_size</td><td>number of enrolmen</td><td>1000</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lern.sunbird.org/use/developer-guide/lms-service/configuration/configurations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
