Skip to content

Commit ef78fb8

Browse files
committed
Auto merge of #1661 - sgrif:sg-move-background-jobs-to-separate-crate, r=jtgeibel
Move the background jobs to another crate I wrote this code intending to extract it, and I'm planning to release it after a few more changes which aren't relevant to crates.io. The code right now is largely the same as what was here before, the main difference being the use of a different error type. The error handling will probably churn some more in the near future as I figure out what I want the error handling story to look like in that crate
2 parents 1b727fa + 438ba40 commit ef78fb8

14 files changed

+67
-531
lines changed

Cargo.lock

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ dotenv = "0.11.0"
4848
toml = "0.4"
4949
diesel = { version = "1.4.0", features = ["postgres", "serde_json", "chrono", "r2d2"] }
5050
diesel_full_text_search = "1.0.0"
51+
swirl = { git = "https://github.com/sgrif/swirl.git", rev = "95d3a35bc39a7274335cad6d7cab64acd5eb3904" }
5152
serde_json = "1.0.0"
5253
serde_derive = "1.0.0"
5354
serde = "1.0.0"
@@ -62,7 +63,6 @@ tempdir = "0.3.7"
6263
parking_lot = "0.7.1"
6364
jemallocator = { version = "0.1.8", features = ['unprefixed_malloc_on_supported_platforms', 'profiling'] }
6465
jemalloc-ctl = "0.2.0"
65-
threadpool = "1.7"
6666

6767
lettre = {git = "https://github.com/lettre/lettre", version = "0.9"}
6868
lettre_email = {git = "https://github.com/lettre/lettre", version = "0.9"}

src/background/job.rs

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/background/mod.rs

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/background/registry.rs

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)