mirror of
https://git.funtimes909.xyz/ServerSeekerV2/ServerSeekerV2.git
synced 2026-10-11 18:08:14 +08:00
accidentally keep commiting a limit on database results while I'm testing 💀
This commit is contained in:
1 parent
428f8ded8e
commit
204a156028
1 file changed
+1
-1
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user