Skip to content

Commit 7d1d8ed

Browse files
committed
[TaskActions] Change SwiftCachingKeyQueryTaskAction to be detached or not based on a setting
By default it will run as part of the execution lanes, having the same behavior as `ClangCachingKeyQueryTaskAction`. rdar://145674013
1 parent 2af57b4 commit 7d1d8ed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/SWBTaskExecution/TaskActions/SwiftCachingKeyQueryTaskAction.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ public final class SwiftCachingKeyQueryTaskAction: TaskAction {
2626
super.init()
2727
}
2828

29-
/// Network task so avoid blocking or being restricted by the execution lanes.
3029
override public var shouldExecuteDetached: Bool {
31-
return true
30+
return key.casOptions.enableDetachedKeyQueries
3231
}
3332

3433
override public func performTaskAction(

0 commit comments

Comments
 (0)