File tree Expand file tree Collapse file tree
src/main/java/com/exceptionless/exceptionlessclient/configuration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ public class ConfigurationManager {
4545 @ Getter private PrivateInformationInclusions privateInformationInclusions ;
4646 private Set <String > dataExclusions ;
4747 private PluginManager pluginManager ;
48+ @ Getter private StorageProviderIF storageProvider ;
4849
4950 @ Builder
5051 public ConfigurationManager (
@@ -77,13 +78,18 @@ public ConfigurationManager(
7778 requestInfoCollector == null
7879 ? DefaultRequestInfoCollector .builder ().log (this .log ).build ()
7980 : requestInfoCollector ;
81+ this .storageProvider =
82+ storageProvider == null
83+ ? InMemoryStorageProvider .builder ().maxQueueItems (maxQueueItems ).build ()
84+ : storageProvider ;
8085 this .settingsManager =
8186 SettingsManager .builder ()
8287 .settingsClient (
8388 settingsClient == null
8489 ? DefaultSettingsClient .builder ().configuration (this .configuration ).build ()
8590 : settingsClient )
8691 .log (log )
92+ .storageProvider (this .storageProvider )
8793 .build ();
8894 this .userAgentBotPatterns = new HashSet <>();
8995 this .configuration =
@@ -102,10 +108,7 @@ public ConfigurationManager(
102108 .configuration (this .configuration )
103109 .log (this .log )
104110 .processingIntervalInSecs (processingIntervalInSecs )
105- .storageProvider (
106- storageProvider == null
107- ? InMemoryStorageProvider .builder ().maxQueueItems (maxQueueItems ).build ()
108- : storageProvider )
111+ .storageProvider (this .storageProvider )
109112 .submissionClient (this .submissionClient )
110113 .build ()
111114 : queue ;
You can’t perform that action at this time.
0 commit comments