Slow territory feed updates down
This commit is contained in:
parent
a0141a3ee2
commit
6284f18128
@ -31,7 +31,7 @@ pub fn territory_livefeed() {
|
||||
let mut timestamp = territories.as_object().unwrap().get("request").unwrap().as_object().unwrap().get("timestamp").unwrap().as_u64().unwrap();
|
||||
|
||||
loop {
|
||||
thread::sleep_ms(10_000); // 10 seconds
|
||||
thread::sleep_ms(20_000); // 10 seconds
|
||||
let resp = reqwest::get("https://api.wynncraft.com/public_api.php?action=territoryList").unwrap();
|
||||
|
||||
let new_territories: Value = serde_json::from_reader(resp).unwrap();
|
||||
|
Loading…
Reference in New Issue
Block a user