Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docstore/mongodocstore: Update Mongo dialer when MONGO_SERVER_URL rotates #3429

Merged
merged 1 commit into from
May 1, 2024

Commits on May 1, 2024

  1. Update Mongo dialer when MONGO_SERVER_URL rotates

    Prior to this commit, the dialer for MongoDB was generated once from
    MONGO_SERVER_URL environment variable but was never updated even when
    the environment variable was updated in subsequent calls. While this
    works fine when MONGO_SERVER_URL is not expected to update, but as
    MONGO_SERVER_URL also contains the credentials to connect to MongoDB,
    it's a fairly common use case to rotate these credentials (and hence the
    environment variable) at regular intervals.
    
    This commit fixes that and updates the dialer when MONGO_SERVER_URL is
    updated.
    concaf committed May 1, 2024
    Configuration menu
    Copy the full SHA
    024ea8c View commit details
    Browse the repository at this point in the history