Skip to content

Conversation

@nastena1606
Copy link
Collaborator

modified: docs/install/parameters.md

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR documents a new environment variable PLM_MONGODB_CLI_OPERATION_TIMEOUT that controls the timeout duration for MongoDB client operations.

  • Added documentation for the PLM_MONGODB_CLI_OPERATION_TIMEOUT environment variable

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

| `PLM_CLONE_NUM_PARALLEL_COLLECTIONS` | Number of collections cloned in parallel | `2` |
| `PLM_CLONE_NUM_READ_WORKERS` | Number of read workers for cloning | `NumCPU / 4` |
| `PLM_CLONE_NUM_INSERT_WORKERS` | Number of insert workers for cloning | `NumCPU * 4` |
| `PLM_MONGODB_CLI_OPERATION_TIMEOUT` | The time to wait for the MongoDB client operation such as insert, update, delete | `5m` |
Copy link

Copilot AI Nov 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The description could be clearer by specifying what happens when this timeout is reached (e.g., 'Maximum time to wait before timing out MongoDB client operations').

Suggested change
| `PLM_MONGODB_CLI_OPERATION_TIMEOUT` | The time to wait for the MongoDB client operation such as insert, update, delete | `5m` |
| `PLM_MONGODB_CLI_OPERATION_TIMEOUT` | Maximum time to wait before timing out MongoDB client operations (such as insert, update, delete). If the timeout is reached, the operation will fail. | `5m` |

Copilot uses AI. Check for mistakes.
| `PLM_CLONE_NUM_PARALLEL_COLLECTIONS` | Number of collections cloned in parallel | `2` |
| `PLM_CLONE_NUM_READ_WORKERS` | Number of read workers for cloning | `NumCPU / 4` |
| `PLM_CLONE_NUM_INSERT_WORKERS` | Number of insert workers for cloning | `NumCPU * 4` |
| `PLM_MONGODB_CLI_OPERATION_TIMEOUT` | Maximum time to wait before timing out MongoDB client operations such as insert, update, delete. If the timeout is reached, the operation will fail. | `5m` |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, we can go with this name, but we could also go with updated PCSM_* prefix and maybe also change the rest of env var names. Wdyt?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #13

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will rebase and proceed with renaming this new one

@nastena1606 nastena1606 temporarily deployed to PCSM-207-Doc-expose-op-timeout - plm-docs PR #14 January 12, 2026 15:35 — with Render Destroyed
@nastena1606
Copy link
Collaborator Author

Closing as the changes are already in main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants