mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
increase lookup timeout
This commit is contained in:
parent
73baa81e30
commit
bf50a6f7d5
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ fn lookup(
|
||||||
|
|
||||||
const DEFAULT_SCHEME: &str = "gemini";
|
const DEFAULT_SCHEME: &str = "gemini";
|
||||||
const DEFAULT_PORT: u16 = 1965;
|
const DEFAULT_PORT: u16 = 1965;
|
||||||
const TIMEOUT: u32 = 250; // ms
|
const TIMEOUT: u32 = 1000; // ms @TODO optional
|
||||||
|
|
||||||
let (feature, query) = Feature::parse(query.trim());
|
let (feature, query) = Feature::parse(query.trim());
|
||||||
let feature = Rc::new(feature);
|
let feature = Rc::new(feature);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue