mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 11:36:47 +00:00
tally active users by time interval by platform and by country
1) refactor Directory Reconciler and pull out AccountDatabaseCrawler class 2) implement ActiveUserCounter to tally daily, weekly, monthly, etc active use 3) rework and simplify the crawl and sleep logic 4) move chunk interval and chunk size configuration options out of directory section and into accountDatabaseCrawler section
This commit is contained in:
1 parent
dbfe4fd5ac
commit
4b8608906a
14 files changed
+984
-327
No files matched your search
@@ -63,6 +63,11 @@ public class WhisperServerConfiguration extends Configuration {
|
||||
@JsonProperty
|
||||
private DirectoryConfiguration directory;
|
||||
|
||||
@NotNull
|
||||
@Valid
|
||||
@JsonProperty
|
||||
private AccountDatabaseCrawlerConfiguration accountDatabaseCrawler;
|
||||
|
||||
@NotNull
|
||||
@Valid
|
||||
@JsonProperty
|
||||
@@ -176,6 +181,10 @@ public class WhisperServerConfiguration extends Configuration {
|
||||
return directory;
|
||||
}
|
||||
|
||||
public AccountDatabaseCrawlerConfiguration getAccountDatabaseCrawlerConfiguration() {
|
||||
return accountDatabaseCrawler;
|
||||
}
|
||||
|
||||
public MessageCacheConfiguration getMessageCacheConfiguration() {
|
||||
return messageCache;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user