Skip to content

Commit

Permalink
Update PR
Browse files Browse the repository at this point in the history
* Update PR
  • Loading branch information
abraunegg committed Oct 20, 2024
1 parent bf52bf9 commit 78790a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/config.d
Original file line number Diff line number Diff line change
Expand Up @@ -1421,6 +1421,7 @@ class ApplicationConfig {
addLogEntry("Config option 'data_timeout' = " ~ to!string(getValueLong("data_timeout")));
addLogEntry("Config option 'ip_protocol_version' = " ~ to!string(getValueLong("ip_protocol_version")));
addLogEntry("Config option 'threads' = " ~ to!string(getValueLong("threads")));
addLogEntry("Config option 'max_curl_idle' = " ~ to!string(getValueLong("max_curl_idle")));

// GUI notifications
version(Notifications) {
Expand Down
7 changes: 5 additions & 2 deletions src/main.d
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,11 @@ int main(string[] cliArgs) {
if (!appConfig.getValueBool("disable_notifications")) {
// If notifications was compiled in, we need to ensure that these variables are actually available before we enable GUI Notifications
flagEnvironmentVariablesAvailable(appConfig.validateGUINotificationEnvironmentVariables());
// Attempt to enable GUI Notifications
validateDBUSServerAvailability();
// If we are not using --display-config attempt to enable GUI notifications
if (!appConfig.getValueBool("display_config")) {
// Attempt to enable GUI Notifications
validateDBUSServerAvailability();
}
}

// In a debug scenario, to assist with understanding the run-time configuration, ensure this flag is set
Expand Down

0 comments on commit 78790a0

Please sign in to comment.