99public class Configuration {
1010 private static final String DEFAULT_SERVER_URL = "https://collector.exceptionless.io" ;
1111 private static final String DEFAULT_HEARTBEAT_SERVER_URL = "https://heartbeat.exceptionless.io" ;
12+ private static final String DEFAULT_CONFIG_SERVER_URL = "https://config.exceptionless.io" ;
1213 private static final Long DEFAULT_UPDATE_SETTINGS_WHEN_IDLE_INTERVAL = 12000L ;
1314 private static final Integer DEFAULT_SUBMISSION_BATCH_SIZE = 50 ;
1415 private static final Integer DEFAULT_SUBMISSION_CLIENT_TIMEOUT_IN_MILLIS = 500 ;
@@ -29,6 +30,7 @@ public static class Property {
2930 @ Getter private String apiKey ;
3031 @ Getter private String serverUrl ;
3132 @ Getter private String heartbeatServerUrl ;
33+ @ Getter private String configServerUrl ;
3234 @ Getter private Long updateSettingsWhenIdleInterval ;
3335 @ Getter private Integer submissionBatchSize ;
3436 @ Getter private Integer submissionClientTimeoutInMillis ;
@@ -51,6 +53,10 @@ public Configuration(
5153 heartbeatServerUrl == null
5254 ? (serverUrl == null ? DEFAULT_HEARTBEAT_SERVER_URL : serverUrl )
5355 : heartbeatServerUrl ;
56+ this .configServerUrl =
57+ configServerUrl == null
58+ ? (serverUrl == null ? DEFAULT_CONFIG_SERVER_URL : serverUrl )
59+ : configServerUrl ;
5460 this .updateSettingsWhenIdleInterval =
5561 updateSettingsWhenIdleInterval == null
5662 ? DEFAULT_UPDATE_SETTINGS_WHEN_IDLE_INTERVAL
0 commit comments