We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d50c219 commit e781ccaCopy full SHA for e781cca
src/checking.rs
@@ -41,6 +41,7 @@ async fn mark_server_as_online() {
41
}
42
43
/// Check if the server is online by either getting a cached value (cached for `ONLINE_CHECK_TTL_MS`), or by pinging `8.8.8.8`.
44
+#[allow(dead_code)] // Used in code that may or may not be cfg'd out
45
async fn is_online() -> bool {
46
{
47
// Has it been checked within the TTL?
0 commit comments