mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 16:06:47 +00:00
Add periodic stats command
// FREEBIE
This commit is contained in:
1 parent
9d3d9d1390
commit
a297d03db5
5 files changed
+144
-18
No files matched your search
@@ -85,15 +85,14 @@ public class WhisperServerConfiguration extends Configuration {
|
||||
@JsonProperty
|
||||
private DataSourceFactory database = new DataSourceFactory();
|
||||
|
||||
@JsonProperty
|
||||
private DataSourceFactory read_database;
|
||||
|
||||
@Valid
|
||||
@NotNull
|
||||
@JsonProperty
|
||||
private RateLimitsConfiguration limits = new RateLimitsConfiguration();
|
||||
|
||||
@Valid
|
||||
@JsonProperty
|
||||
private GraphiteConfiguration graphite = new GraphiteConfiguration();
|
||||
|
||||
@Valid
|
||||
@JsonProperty
|
||||
private WebsocketConfiguration websocket = new WebsocketConfiguration();
|
||||
@@ -143,6 +142,10 @@ public class WhisperServerConfiguration extends Configuration {
|
||||
return database;
|
||||
}
|
||||
|
||||
public DataSourceFactory getReadDataSourceFactory() {
|
||||
return read_database;
|
||||
}
|
||||
|
||||
public RateLimitsConfiguration getLimitsConfiguration() {
|
||||
return limits;
|
||||
}
|
||||
@@ -151,10 +154,6 @@ public class WhisperServerConfiguration extends Configuration {
|
||||
return federation;
|
||||
}
|
||||
|
||||
public GraphiteConfiguration getGraphiteConfiguration() {
|
||||
return graphite;
|
||||
}
|
||||
|
||||
public RedPhoneConfiguration getRedphoneConfiguration() {
|
||||
return redphone;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user