refactor: deprecate job queue runHooks property (#13617)

Setting `runHooks: true` is already discouraged and will make the job
queue system a lot slower and less reliable. We have no test coverage
for this and it's additional code we need to maintain.

To further discourage using this property, this PR marks it as
deprecated and for removal in 4.0.
This commit is contained in:
Alessio Gravili
2025-08-27 18:32:06 -07:00
committed by GitHub
parent e0ffada80b
commit 97c41ce0c5

View File

@@ -157,6 +157,7 @@ export type JobsConfig = {
* drastically affect performance.
*
* @default false
* @deprecated - this will be removed in 4.0
*/
runHooks?: boolean
/**