Ayrat Badykov
7d92fd2d6a
Update Readme ( #7 )
...
* Update Readme
* change migration path in the readme
2021-07-24 12:13:59 +03:00
Ayrat Badykov
45eb336b8a
Periodic tasks ( #5 )
...
* Periodic tasks
* schedule next execution
* add scheduler
* ignore test
* fix clippy
* make start public
* check if the period task already exists
* do not insert task if it's already in the queue
* fix tests
2021-07-18 22:09:30 +03:00
Ayrat Badykov
b9e05213d9
fix workflow
2021-07-11 13:44:28 +03:00
Ayrat Badykov
12f6944e59
add github actions ( #4 )
...
* add github actions
* fix clippy
* skip check
* get rid of collect
* fix tests
* run ignored tests
2021-07-11 13:17:02 +03:00
Ayrat Badykov
4f50385c96
simplify usage by re-exporting serde traits ( #3 )
...
* simplify usage by re-exporting serde traits
* improve readme formatting
* use typetag
* try different approach
* reexport through macro
* fix re-exporting
* add CHANGELOG entry
* use typetag::serde in README
2021-07-11 10:26:20 +03:00
Ayrat Badykov
0cb3b7301b
remove finished tasks ( #2 )
...
* execute different types of task in separate workers
* add more tests
* remove finished tasks
* add retention_mode
* make db url optional
* Add worker params
* Add CHANGELOG entry
2021-07-03 15:18:41 +03:00
Ayrat Badykov
4b1f537d19
execute different types of tasks in separate workers ( #1 )
...
* execute different types of task in separate workers
* add more tests
* pass reference
* add CHANGELOG
2021-07-03 07:23:05 +03:00
Ayrat Badykov
917c65204b
add README
2021-06-24 12:58:02 +03:00
Ayrat Badykov
75a0de365e
make worker pool public
2021-06-24 08:23:02 +03:00
Ayrat Badykov
a2e4885bdb
re-export all structs
2021-06-24 07:48:33 +03:00
Ayrat Badykov
e009747dd0
remove unused file
2021-06-23 14:32:21 +03:00
Ayrat Badykov
b92af896d4
fix clippy warnings
2021-06-23 14:30:19 +03:00
Ayrat Badykov
1f00098687
recover from panics
2021-06-23 14:26:47 +03:00
Ayrat Badykov
d293e31ac8
run tasks in threads
2021-06-23 13:48:03 +03:00
Ayrat Badykov
3bc32c9c93
add job pool
2021-06-23 08:32:35 +03:00
Ayrat Badykov
3de7038e62
add scheduler
2021-06-20 11:58:03 +03:00
Ayrat Badykov
e52c81ddde
execute a task
2021-06-20 11:10:02 +03:00
Ayrat Badykov
5824038701
use skip_locked
to skip the locked record
2021-06-13 12:26:40 +03:00
Ayrat Badykov
27f3e1479f
lock the selected task record
2021-06-12 15:59:09 +03:00
Ayrat Badykov
506fd1c4cb
insert tasks
2021-06-06 11:44:46 +03:00
Ayrat Badykov
8f1f1cc7fa
start working on storage level
2021-06-05 14:39:19 +03:00
Ayrat Badykov
d31d6096fa
initial commit
2021-05-30 11:35:00 +03:00