mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-07 06:57:39 +03:00
Libreddit -> Redlib
This commit is contained in:
parent
dac059573d
commit
b0f985c687
38 changed files with 276 additions and 275 deletions
|
@ -137,7 +137,7 @@ fn reddit_head(path: String, quarantine: bool) -> Boxed<Result<Response<Body>, S
|
|||
/// in its response.
|
||||
fn request(method: &'static Method, path: String, redirect: bool, quarantine: bool) -> Boxed<Result<Response<Body>, String>> {
|
||||
// Increment reddit request count. This will include head requests.
|
||||
if config::get_setting("LIBREDDIT_DISABLE_STATS_COLLECTION").is_none() {
|
||||
if config::get_setting("REDLIB_DISABLE_STATS_COLLECTION").is_none() {
|
||||
INSTANCE_INFO.reddit_requests.fetch_add(1, SeqCst);
|
||||
}
|
||||
// Build Reddit URL from path.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue