accidentally keep commiting a limit on database results while I'm testing 💀

This commit is contained in:
funtimes909 committed 2025-04-21 22:24:34 +12:00
1 parent 428f8ded8e
commit 204a156028
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@ use std::time::{SystemTime, UNIX_EPOCH};
use tracing::{debug, info};
pub async fn fetch_servers(pool: &Pool<Postgres>) -> BoxStream<Result<PgRow, Error>> {
sqlx::query("SELECT address FROM servers ORDER BY lastseen ASC LIMIT 5000").fetch(pool)
sqlx::query("SELECT address FROM servers ORDER BY lastseen ASC").fetch(pool)
}
pub async fn fetch_count(pool: &Pool<Postgres>) -> i64 {