mltrace
mltrace copied to clipboard
Fixing the configuration of DB_SERVER
The export DB_SERVER=<server ip> sets the flag globally on the system it is running. It works as expected, but setting a global flag leads to an issue where the user might not be able to use the flag for other program(s).
One suggestion would be to use a config.yaml file, where DB_SERVER or other flags can be set and a config loader can be written for setting these flags. It is future-proof as one can add other configuration keys to the file in future.