24 Commits

Author SHA1 Message Date
1d5e05270e Fix clippy warning
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-16 19:07:34 -06:00
f8c9fd2def Refactor SectionRunner runner_task
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Create a struct to stores state and split up `runner_task` in
to separate functions.
2020-08-20 10:53:17 -06:00
4c782addb7 Move OptionFuture to its own file
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-18 21:55:16 -06:00
7aaab40e0b Fix clippy warnings
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-18 21:08:45 -06:00
4cf93a9568 Fix test usage of tokio::time::advance
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2020-08-18 20:56:04 -06:00
ab994d027a Implement SectionRunner pause/unpause 2020-08-18 20:55:53 -06:00
42cce06d68 Add test for SectionRunner pause/unpause
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2020-08-18 19:34:11 -06:00
964c30b8b9 Fix clippy warnings
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-18 12:20:08 -06:00
82180956d3 Fix more dead code warnings 2020-08-18 11:52:45 -06:00
7e24b03f22 Change SectionRunner to use VecDeque again
Change SecRun to have a RunState enum with a cancelled state instead
of removing run from the queue when cancelled.
This means we no longer need `drain_filter` which is unstable
2020-08-18 11:52:33 -06:00
53bd7c6679 Fix dead code warnings
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-17 22:23:45 -06:00
ccfd130022 Implement cancel_all 2020-08-17 20:06:09 -06:00
43f1e59516 Add cancel_all test 2020-08-17 20:02:44 -06:00
fa1bf9a116 Fix tests 2020-08-17 20:00:47 -06:00
c58ad6b2cc Use tracing-subscriber instead of env-logger 2020-08-17 19:58:58 -06:00
b56c436fbe Add test for cancel_run 2020-08-17 09:40:27 -06:00
31e843a585 SectionRunner::queue_run test and impl 2020-08-16 23:29:53 -06:00
9f77f09c6d Remove bad print 2020-08-16 23:29:29 -06:00
f720607936 Filter multiple fields 2020-08-14 15:30:58 -06:00
6e49d0f849 Improve logging and trace listeners 2020-08-13 16:09:00 -06:00
8caa569fb1 Start work on section runner and use tracing 2020-08-13 12:12:22 -06:00
27b0edf896 Support for reading sections from db 2020-08-12 10:38:41 -06:00
6bbb559356 Fix a few things with migrations 2020-08-12 10:25:28 -06:00
07785918c1 Initial commit 2020-08-12 10:01:44 -06:00