mirror of
https://github.com/redlib-org/redlib.git
synced 2025-06-07 23:27:51 +00:00
Libreddit -> Redlib
This commit is contained in:
parent
dac059573d
commit
b0f985c687
38 changed files with 276 additions and 275 deletions
|
@ -235,7 +235,7 @@ impl Server {
|
|||
match router.recognize(&format!("/{}{}", req.method().as_str(), path)) {
|
||||
// If a route was configured for this path
|
||||
Ok(found) => {
|
||||
if config::get_setting("LIBREDDIT_DISABLE_STATS_COLLECTION").is_none() {
|
||||
if config::get_setting("REDLIB_DISABLE_STATS_COLLECTION").is_none() {
|
||||
// Add to total_requests count
|
||||
INSTANCE_INFO.total_requests.fetch_add(1, SeqCst);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue