scheddy 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +3 -3
- data/Rakefile +0 -2
- data/db/migrate/20230607201527_create_scheddy_task_histories.rb +1 -1
- data/db/migrate/20240822165904_create_scheddy_task_schedulers.rb +1 -1
- data/lib/scheddy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 828b773cb84f9dfd7f45f2fe745faf1cf05e80fa2085cf904fd4b59d64559ebc
|
|
4
|
+
data.tar.gz: bac6ee0d50c63209eddbadcb9ee01d25f506b90e3f82354d52ce03d20a28797a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92abe57e04642ac9f47a4cb867c2248b6452c5fa672dc5fdf9242df865392fbd69556b9192b10b48e473c0f5ecd99bdfb30c14d7e362a7a374c5186cee72a4fe
|
|
7
|
+
data.tar.gz: 70a808900290ba82555a90dba35d05f4bc982fba763018e41cd3520ecd759ddd8af26894a1e98bdd08dd5f1ac4227333767531013c07590f75eb2a6171d1bd38
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Scheddy is a batteries-included task scheduler for Rails. It is intended as a re
|
|
|
6
6
|
* Tiny intervals are great for scheduling workload specific jobs (database field `next_run_at`).
|
|
7
7
|
* Catch up missed tasks. Designed for environments with frequent deploys. Also useful in dev where the scheduler isn't always running.
|
|
8
8
|
* Job-queue agnostic. Works great with various ActiveJob adapters and non-ActiveJob queues too.
|
|
9
|
-
* Minimal dependencies. Uses your existing database (or no database at all). Redis not required either.
|
|
9
|
+
* Minimal dependencies. Uses your existing database (or no database at all). Redis/Valkey not required either.
|
|
10
10
|
* Built-in cluster support by running 2+ Scheddy instances. (Database required in this case.)
|
|
11
11
|
* Tasks and their schedules are versioned as part of your code.
|
|
12
12
|
|
|
@@ -128,7 +128,7 @@ Database transactions are valid. These can increase use of database connections
|
|
|
128
128
|
|
|
129
129
|
#### Threading and execution
|
|
130
130
|
|
|
131
|
-
Each task
|
|
131
|
+
Each task is executed in its own thread which helps ensure all tasks perform on time. However, Scheddy is not intended as a job executor and doesn't have a robust mechanism for retrying failed jobs--that belongs to your background job queue.
|
|
132
132
|
|
|
133
133
|
A given task will only ever be executed once at a time. Mostly relevant when using tiny intervals, if a prior execution is still going when the next execution is scheduled to start, Scheddy will skip the next execution and log an error message to that effect.
|
|
134
134
|
|
|
@@ -237,7 +237,7 @@ There is a default 45 second wait for tasks to complete, which should be more th
|
|
|
237
237
|
|
|
238
238
|
### Error handling
|
|
239
239
|
|
|
240
|
-
Scheddy's default error handler uses the Rails Errors API introduced in Rails 7. If your exception tracker of choice doesn't implement this API,
|
|
240
|
+
Scheddy's default error handler uses the Rails Errors API introduced in Rails 7. If your exception tracker of choice doesn't implement this API, set your own error handler.
|
|
241
241
|
|
|
242
242
|
Note that the default handler is responsible for exception logging, so you must perform your own logging if wanted. If the handler is set to `nil`, exceptions will be silenced.
|
|
243
243
|
|
data/Rakefile
CHANGED
data/lib/scheddy/version.rb
CHANGED