gammasim / simtools

Tools and applications for the Simulation System of the CTA Observatory.
https://gammasim.github.io/simtools
BSD 3-Clause "New" or "Revised" License
9 stars 1 forks source link

Allow for local database connection #962

Closed GernotMaier closed 1 month ago

GernotMaier commented 1 month ago

directConnection should be set to True when running a local mongoDB (and not the instance at DESY).

This is only testable when running a local DB (which is highly experimental at this point), I therefore point the reviewer to https://pymongo.readthedocs.io/en/stable/api/pymongo/mongo_client.html .

Note that in 'normal' cases with db_server not set to localhost, nothing changes.

ctao-dpps-sonarqube[bot] commented 1 month ago

Passed

Analysis Details

0 Issues

Coverage and Duplications

Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w

View in SonarQube