Skip to content

Commit b647b6e

Browse files
Merge pull request #1197 from Mark-Simulacrum/fix-postgres
Update Rust before building a freshly pulled collector
2 parents 40b641b + a67e798 commit b647b6e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

collector/collect.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ while : ; do
1313
# Update and rebuild the collector.
1414
git pull
1515
git reset --hard @{upstream}
16+
17+
# Make sure we have a recent build, so that we can successfully build
18+
# the collector.
19+
rustup update
1620
cargo +nightly build --release -p collector
1721

1822
# Install measureme tooling
@@ -28,4 +32,7 @@ while : ; do
2832

2933
target/release/collector bench_next $SITE_URL --self-profile --bench-rustc --db $DATABASE;
3034
echo finished run at `date`;
35+
36+
# Wait a little bit before the next run starts.
37+
sleep 120
3138
done

0 commit comments

Comments
 (0)