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:
@@ -157,6 +157,7 @@ export type JobsConfig = {
|
||||
* drastically affect performance.
|
||||
*
|
||||
* @default false
|
||||
* @deprecated - this will be removed in 4.0
|
||||
*/
|
||||
runHooks?: boolean
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user