Compare commits

...

3 Commits

Author SHA1 Message Date
6a228cfd5e Bumping version to 0.0.130 2025-01-30 14:16:30 -08:00
8d81067206 cargo sqlx prepare 2025-01-30 14:16:29 -08:00
b2e47a9bd4 server: round-robin by site when indexing searches 2025-01-30 14:16:12 -08:00
8 changed files with 14 additions and 13 deletions

10
Cargo.lock generated
View File

@ -2910,7 +2910,7 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[package]]
name = "letterbox"
version = "0.0.129"
version = "0.0.130"
dependencies = [
"build-info",
"build-info-build",
@ -2936,7 +2936,7 @@ dependencies = [
[[package]]
name = "letterbox-server"
version = "0.0.129"
version = "0.0.130"
dependencies = [
"ammonia",
"anyhow",
@ -3457,7 +3457,7 @@ dependencies = [
[[package]]
name = "notmuch"
version = "0.0.129"
version = "0.0.130"
dependencies = [
"itertools 0.10.5",
"log",
@ -4252,7 +4252,7 @@ dependencies = [
[[package]]
name = "procmail2notmuch"
version = "0.0.129"
version = "0.0.130"
dependencies = [
"anyhow",
]
@ -5331,7 +5331,7 @@ dependencies = [
[[package]]
name = "shared"
version = "0.0.129"
version = "0.0.130"
dependencies = [
"build-info",
"notmuch",

View File

@ -1,6 +1,6 @@
[package]
name = "notmuch"
version = "0.0.129"
version = "0.0.130"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,6 +1,6 @@
[package]
name = "procmail2notmuch"
version = "0.0.129"
version = "0.0.130"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "SELECT\n p.id,\n link,\n clean_summary\nFROM\n post AS p\nINNER JOIN feed AS f ON p.site = f.slug -- necessary to weed out nzb posts\nWHERE\n search_summary IS NULL\n -- TODO remove AND link ~ '^<'\nORDER BY date DESC\nLIMIT 100;\n",
"query": "SELECT\n p.id,\n link,\n clean_summary\nFROM\n post AS p\nINNER JOIN feed AS f ON p.site = f.slug -- necessary to weed out nzb posts\nWHERE\n search_summary IS NULL\n -- TODO remove AND link ~ '^<'\nORDER BY\n ROW_NUMBER() OVER (PARTITION BY site ORDER BY date DESC)\nLIMIT 100;\n",
"describe": {
"columns": [
{
@ -28,5 +28,5 @@
true
]
},
"hash": "4944507f02f1b6f85f2cc29af99771b74da955c0a9347fd1bd55036c38717ced"
"hash": "3d271b404f06497a5dcde68cf6bf07291d70fa56058ea736ac24e91d33050c04"
}

View File

@ -1,6 +1,6 @@
[package]
name = "letterbox-server"
version = "0.0.129"
version = "0.0.130"
edition = "2021"
default-run = "letterbox-server"

View File

@ -8,5 +8,6 @@ INNER JOIN feed AS f ON p.site = f.slug -- necessary to weed out nzb posts
WHERE
search_summary IS NULL
-- TODO remove AND link ~ '^<'
ORDER BY date DESC
ORDER BY
ROW_NUMBER() OVER (PARTITION BY site ORDER BY date DESC)
LIMIT 100;

View File

@ -1,6 +1,6 @@
[package]
name = "shared"
version = "0.0.129"
version = "0.0.130"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,5 +1,5 @@
[package]
version = "0.0.129"
version = "0.0.130"
name = "letterbox"
repository = "https://github.com/seed-rs/seed-quickstart"
authors = ["Bill Thiede <git@xinu.tv>"]