Skip to content

Commit 4b87b8d

Browse files
committed
raise the timeout for collection rebuild operations, and flip the polarity of the PackageRecord[.cell] scalar index
1 parent fbbce94 commit 4b87b8d

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ let package:Package = .init(
7373
.package(url: "https://github.com/tayloraswift/swift-grammar", .upToNextMinor(
7474
from: "0.3.2")),
7575
.package(url: "https://github.com/tayloraswift/swift-mongodb", .upToNextMinor(
76-
from: "0.8.1")),
76+
from: "0.8.2")),
7777

7878
.package(url: "https://github.com/swift-server/swift-backtrace", .upToNextMinor(
7979
from: "1.3.4")),

Sources/UnidocDB/Packages/PackageDatabase.Graphs.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ extension PackageDatabase.Graphs
105105
}
106106
}
107107
},
108-
against: self.database)
108+
against: self.database,
109+
by: .now.advanced(by: .seconds(60)))
109110
{
110111
for try await batch:[Snapshot] in $0
111112
{

Sources/UnidocDB/Packages/PackageDatabase.Packages.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ extension PackageDatabase.Packages:DatabaseCollection
3737
$0[.name] = "cell"
3838
$0[.key] = .init
3939
{
40-
$0[PackageRecord[.cell]] = (-)
40+
$0[PackageRecord[.cell]] = (+)
4141
}
4242
},
4343
]

0 commit comments

Comments
 (0)