Commit graph

155 commits

Author SHA1 Message Date
5c43dacb5b
Add Backie logo, so cute!!1 :) 2023-03-21 15:39:46 +01:00
617bd71bd1
Update readme with execution diagram 2023-03-18 16:26:12 +01:00
ed6a784e02
Release backie version 0.6.0 2023-03-14 16:41:46 +01:00
e1a8eeb7de
Use Queue type directly 2023-03-14 15:06:22 +01:00
c93d38de01
Release backie version 0.5.0 2023-03-13 17:59:15 +01:00
aa1144e54f
Allow definition of custom error type 2023-03-13 17:46:59 +01:00
2b42a27b72
Release backie version 0.4.0 2023-03-13 14:11:58 +01:00
64e2315999
Review Queue signature 2023-03-13 14:11:19 +01:00
253a82fecf
Release backie version 0.3.0 2023-03-13 13:19:59 +01:00
979294296e
Configure release.toml 2023-03-13 13:17:16 +01:00
c99486eaa6
Make TaskStore trait object safe 2023-03-13 13:08:54 +01:00
c07781a79b
Maximum of 5 keywords per crate 2023-03-12 18:42:12 +01:00
042de9261f
Release 0.2.0 2023-03-12 18:38:54 +01:00
716eeae4b1
Handle tasks that panic 2023-03-12 18:33:00 +01:00
10e01390b8
Allow customization of the pulling interval per queue 2023-03-12 17:15:40 +01:00
82e6ef6dac
Remove submodules 2023-03-12 15:55:27 +01:00
0f0a9c2238
Tasks are let run until completion 2023-03-12 15:52:13 +01:00
2964dc2b88
Wait all workers to stop gracefully 2023-03-12 00:18:15 +01:00
eed21d265d
Use slices where possible 2023-03-11 22:33:25 +01:00
89df4cfe8e
Update gitattributes 2023-03-11 22:27:30 +01:00
936aac17a7
Update readme 2023-03-11 22:23:45 +01:00
4895400d33
Update readme 2023-03-11 22:22:25 +01:00
16f96e7658
Fix CI for Postgres tests 2023-03-11 18:29:33 +01:00
0fbc67052a
Don't generate default task unique hashes 2023-03-11 18:13:48 +01:00
894f928c01
Support generic backend to store tasks 2023-03-11 17:49:23 +01:00
fd92b25190
Make queues configurable 2023-03-11 16:38:32 +01:00
aac0b44c7f
Make possible to provide app state to tasks 2023-03-10 23:41:34 +01:00
7fcb63f75c
Update readme 2023-03-09 19:12:50 +01:00
61e566ed9f
Supports graceful shutdown 2023-03-09 16:59:45 +01:00
6ed9513baf
Update readme with backie info 2023-03-07 17:52:26 +01:00
c1fcc87885
Revamp project using newtype and rework tasks table 2023-03-07 16:41:20 +01:00
cb1ee8e854
Re-org project 2023-03-05 01:19:35 +01:00
ada981865d
Update readme 2023-03-04 20:52:22 +01:00
234f5afe69
Frango 🐓 2023-03-04 20:51:21 +01:00
18303be796
Make workers go brrrr... 2023-03-04 20:46:09 +01:00
0be173ef02
Support only async 2023-03-04 19:07:17 +01:00
Ayrat Badykov
3a20fe7dc6
fix deploy.sh (#113) 2023-02-26 09:34:20 +00:00
Ayrat Badykov
c05e5fa44a
fix docs build (#112)
* fix docs build

* fix timestamp

* fix deploy script

* fix
2023-02-26 09:23:00 +00:00
Ayrat Badykov
a9c4faa338
Update crates (#111)
* update `diesel-derive-enum` from `2.0.0-rc.0` to `2.0.1`

* add CHANGELOG entry
2023-02-23 09:33:24 +02:00
Ayrat Badykov
1eaba057bc
release 0.10.1 (#110) 2023-02-04 05:31:36 +02:00
dependabot[bot]
cf64487d81
chore(cargo): update typed-builder requirement from 0.11 to 0.12 (#108)
Updates the requirements on [typed-builder](https://github.com/idanarye/rust-typed-builder) to permit the latest version.
- [Release notes](https://github.com/idanarye/rust-typed-builder/releases)
- [Changelog](https://github.com/idanarye/rust-typed-builder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/idanarye/rust-typed-builder/commits)

---
updated-dependencies:
- dependency-name: typed-builder
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-03 20:05:22 +01:00
Ayrat Badykov
3e4bf7ddb7
chore(lint): fix clippy warnings (#109)
fix clippy warnings
2023-02-03 20:41:14 +02:00
Pmarquez
01934e231f
Documenting worker pool (#104)
* Documenting worker pool

* Update src/asynk/async_worker_pool.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_worker_pool.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_worker_pool.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_worker_pool.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_worker_pool.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* move comment to worker

* documenting blocking module

* Update src/asynk/async_worker.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_worker_pool.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/blocking/queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/blocking/queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_worker.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>
2022-12-22 15:38:56 +00:00
dependabot[bot]
aa4cd3f09b
chore(cargo): update typed-builder requirement from 0.10 to 0.11 (#105)
Updates the requirements on [typed-builder](https://github.com/idanarye/rust-typed-builder) to permit the latest version.
- [Release notes](https://github.com/idanarye/rust-typed-builder/releases)
- [Changelog](https://github.com/idanarye/rust-typed-builder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/idanarye/rust-typed-builder/commits)

---
updated-dependencies:
- dependency-name: typed-builder
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-02 09:16:47 +02:00
Ayrat Badykov
9b92a4a34e
Start documenting the project (#96)
* Start documenting the project

* Add AsyncQueue implementation

* Documenting Async runnable

* By default value in uniq function

* Fix errors and warnings async runnable docs

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* format something

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* uniq documentation

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_queue.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

* Update src/asynk/async_runnable.rs

Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>

Co-authored-by: pxp9 <pepe.marquezromero@gmail.com>
Co-authored-by: Pmarquez <48651252+pxp9@users.noreply.github.com>
2022-10-18 08:30:17 +02:00
Ayrat Badykov
cfc3c46164
Create LICENCE 2022-10-16 07:42:56 +03:00
Ayrat Badykov
1373bf6523 release 0.10 (#103)
* update the version to 0.10

* fix readme

* improve changelog entry
2022-09-27 17:59:37 +03:00
dependabot[bot]
ac5927f172
chore(cargo): update cron requirement from 0.11 to 0.12 (#97)
Updates the requirements on [cron](https://github.com/zslayton/cron) to permit the latest version.
- [Release notes](https://github.com/zslayton/cron/releases)
- [Commits](https://github.com/zslayton/cron/compare/v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: cron
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 19:45:12 +03:00
Ayrat Badykov
11a7dcc41e
update readme (#95) 2022-09-25 16:05:27 +03:00
Ayrat Badykov
19598d63cb
fix examples (#94) 2022-09-18 16:05:26 +03:00