Commit graph

8 commits

Author SHA1 Message Date
Rafael Caricio aac0b44c7f
Make possible to provide app state to tasks 2023-03-10 23:41:34 +01:00
Ayrat Badykov b1fbe8c5af
create sync mod 2022-07-17 09:10:32 +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 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 d293e31ac8
run tasks in threads 2021-06-23 13:48:03 +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