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
Ayrat Badykov
7c0aa2fab9
Retries ( #92 )
...
* add retries and errors fields
* Exponential backoff
* async retries (#93 )
2022-09-17 19:39:47 +03:00
Ayrat Badykov
b76e134ca1
bump version to 0.9.1
2022-09-14 14:45:01 +03:00
Pmarquez
fed5b9f363
Remove Task by uniq hash ( #90 )
...
* Change asynk remove_task API (just uuid needed)
* Add headers to traits
* Remove task by uniq hash (asynk module)
* Remove task by uniq hash (blocking module)
* Error if task is not uniq
* Rename to remove_task_by_metadata
* Testing remove by metadata query
2022-09-14 14:28:31 +03:00
Pmarquez
f4a2c55000
Fang 0.9 article ( #83 )
...
* Starting fang 0.9 article
* Fixing some errors
* Blocking refactor explained
* improve
* update timestamp
Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>
2022-09-09 18:24:08 +00:00
Pmarquez
8b6e5c19b8
Docs site ( #82 )
...
* init static site
* add index
* changes footer
* remove search
* add docs workflows
* remove unused pages
* remove commit step
* README and CHANGELOG added, also fix cron typo
* Sorry ayrat my bad xd
* little glitch
* fix base url
* dates modify
* fix authors
* change structure
* don't remove docs :]
* remove rust code for static site
* copy recursively
* add random attribute
* remove submodules
* more fixes
* master branch
* CHANGELOG AND README update automated
* fix ref
* Icons may be work ?
* fix deploy bug
* i think fix the deploy bug
* gitignore README and CHANGELOG
* delete -f
* delete desc
* delete lead
Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>
2022-09-07 19:24:17 +03:00
Ayrat Badykov
020ac943b5
documentation site ( #81 )
...
* init static site
* add index
* changes footer
* remove search
* add docs workflows
* remove unused pages
2022-09-06 00:06:15 +03:00
Pmarquez
d3fc479b68
Docs improvement ( #80 )
...
* I little bit improve docs
* README
* disable tests for docs
2022-09-03 14:05:58 +03:00
Pmarquez
7fb4423bf5
update README and CHANGELOG, bump version ( #79 )
...
* README and CHANGELOG
* FUNDING
* bump version
Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>
2022-09-03 11:27:03 +03:00
Ayrat Badykov
2b0eb0627d
Merge pull request #69 from ayrat555/ayrat555/change-schema
...
Change schema to improve scheduler
2022-09-02 19:19:16 +03:00
pxp9
ac45f36819
Examples fixed
2022-09-01 19:16:18 +02:00
Pmarquez
f2ca0c046d
Diesel and Uuid updated, it was not hard xd ( #78 )
2022-09-01 15:54:04 +00:00
pxp9
553f5f7de1
remove all scheduled tasks, necessary for El Monitorro bot
2022-09-01 01:01:15 +02:00
Pmarquez
b975e893e2
From db errors ( #77 )
...
* Re-work errors
* delete aliases
2022-08-31 17:45:13 +00:00
pxp9
076d89e866
export Runnable
2022-08-31 12:05:56 +02:00
Pmarquez
91f2fdf330
Update asynk.rs
2022-08-29 22:28:43 +02:00
Pmarquez
05632a48ce
Update blocking.rs
2022-08-29 22:27:22 +02:00
Pmarquez
ebe67a1e18
Update asynk.rs
2022-08-29 22:26:12 +02:00
Pmarquez
a0cb08ab53
Merge branch 'master' into ayrat555/change-schema
2022-08-29 20:24:06 +00:00
Pmarquez
360140d064
Blocking refactor ( #74 )
...
* Adapting code to new Fang tables structure and refactoring to make it more generic (Not finished)
* Refactoring of the blocking module
* Finishing blocking module, starting to modify tests
* Worker tests done, Queue tests left
* Maybe all tests done ??
* Makefile clippy
* Examples fixed
* asynk feature
Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>
2022-08-29 16:59:22 +00:00
Pmarquez
dffee33b9c
Asynk change schema ( #75 )
...
* add uniq method for AsyncRunnable trait (#70 )
* add uniq method for asyncrunnable
* add hash enum
* remove string
* return bool values
* Task struct modified (#71 )
* Task struct modified
* asynk module try to adapt new scheme
* delete period in millis
* delete period in millis completed
* Cron support :D
* Cron and single Schedule support :D
* Current timestamp value
* fix bug and new test that confirms that it was a bug
* fix a call
* Update Cargo.toml
Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>
* comments suggestions
* fix clippy
* Better user api for schedule with cron
* Cron tested with example
* Comments adressed
* Comments adressed
Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>
Co-authored-by: Ayrat Badykov <ayratin555@gmail.com>
2022-08-27 15:58:38 +00:00
Pmarquez
ccd900dbae
Mod model 2018 ( #73 )
...
mod model 2018
2022-08-23 17:39:06 +03:00
Ayrat Badykov
fc935f487e
add rollback query
2022-08-20 18:54:19 +03:00