mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-05 14:07:39 +03:00
Merge branch 'master' into reddit-stats
This commit is contained in:
commit
a39bb9d502
16 changed files with 409 additions and 367 deletions
|
@ -131,6 +131,8 @@ impl InstanceInfo {
|
|||
["Disable stats collection", &convert(&self.config.disable_stats_collection)],
|
||||
["Reddit request count", &self.reddit_requests.load(SeqCst).to_string()],
|
||||
["Total request count", &self.total_requests.load(SeqCst).to_string()],
|
||||
["Pushshift frontend", &convert(&self.config.pushshift)],
|
||||
//TODO: fallback to crate::config::DEFAULT_PUSHSHIFT_FRONTEND
|
||||
])
|
||||
.with_header_row(["Settings"]),
|
||||
);
|
||||
|
@ -167,6 +169,7 @@ impl InstanceInfo {
|
|||
Disable stats collection: {:?}\n
|
||||
Reddit request count: {}\n
|
||||
Total request count: {}\n
|
||||
Pushshift frontend: {:?}\n
|
||||
Config:\n
|
||||
Banner: {:?}\n
|
||||
Hide awards: {:?}\n
|
||||
|
@ -190,6 +193,7 @@ impl InstanceInfo {
|
|||
self.config.disable_stats_collection,
|
||||
self.reddit_requests.load(SeqCst),
|
||||
self.total_requests.load(SeqCst),
|
||||
self.config.pushshift,
|
||||
self.config.banner,
|
||||
self.config.default_hide_awards,
|
||||
self.config.default_theme,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue