Closed andrewsignori-aot closed 2 days ago
Great Job! Please have a look at the comments. Except one rest all are minor.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Totals | |
---|---|
Statements: | 22.1% ( 3718 / 16821 ) |
Methods: | 10.19% ( 214 / 2100 ) |
Lines: | 25.44% ( 3226 / 12680 ) |
Branches: | 13.62% ( 278 / 2041 ) |
Totals | |
---|---|
Statements: | 65.43% ( 583 / 891 ) |
Methods: | 59.26% ( 64 / 108 ) |
Lines: | 68.54% ( 464 / 677 ) |
Branches: | 51.89% ( 55 / 106 ) |
Totals | |
---|---|
Statements: | 86.93% ( 1244 / 1431 ) |
Methods: | 88.57% ( 124 / 140 ) |
Lines: | 87.78% ( 1056 / 1203 ) |
Branches: | 72.73% ( 64 / 88 ) |
Totals | |
---|---|
Statements: | 66.96% ( 5773 / 8621 ) |
Methods: | 64.8% ( 718 / 1108 ) |
Lines: | 70.89% ( 4530 / 6390 ) |
Branches: | 46.75% ( 525 / 1123 ) |
Updated Bull Board-related packages to take advantage of the feature present in the newer version that allows a new job to be added (same as duplicate), allowing the schedulers to be executed without affecting their current time to be executed again.
Notes:
queue-consumers
restarted, the delayed job was restored.Using the add/duplicate option
While creating the new job the properties can be edited, for instance, the corn expression can be edited to create a new time to execute the scheduler.
Please note that
timestamp
andprevMillis
should be removed. These properties are generated once the job is created. As mentioned in the source code,timestamp
is the "Timestamp when the job was created." andprevMillis
is a "Internal property used by repeatable jobs."Refactor
main.ts
.