mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
perf(cron): share global concurrency budget and streamline execution
Share durable permits across manual, scheduled and recovered runs, prioritize short ready tasks with aging, and record global queue occupancy. Reduce launch, log polling, dashboard and SQLite overhead while preserving transactional receipts, cancellation, recovery and script hook compatibility. Keep ordinary CRUD in ORM and bound SQL on measured execution hot paths. Fix supervisor descendant tracking, asynchronous log draining, concurrent log directory creation, Linux fallback launches and snapshot clock rollback. Include regression coverage, SQL audits and evolution/review documentation. Validation: five review rounds; local full suite 1478 passed, 28 platform skips; dev suites 415 passed, no failures/skips; backend types and formatting passed.
This commit is contained in:
1 parent
cddabbaf0e
commit
2f01f756d7
74 files changed
+6891
-837
No files matched your search
@@ -27,6 +27,7 @@ function run(t, body) {
|
||||
'-ec',
|
||||
source +
|
||||
`
|
||||
unset EPOCHREALTIME EPOCHSECONDS
|
||||
is_macos=0
|
||||
mtime_format='%Y-%m-%d %H:%M:%S.%3N'
|
||||
time_format='%Y-%m-%d %H:%M:%S'
|
||||
|
||||
Reference in new issue
Block a user