Enable CHECKPOINT_CACHE by default in CI and testing scripts

This commit is contained in:
PThorpe92
2025-08-18 13:43:34 -04:00
parent 345b80d14c
commit bf48101db2
3 changed files with 6 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ EXPERIMENTAL_FLAGS="--experimental-views"
# if RUST_LOG is non-empty, enable tracing output
if [ -n "$RUST_LOG" ]; then
TESTING="true" "$TURSODB" -m list -q $EXPERIMENTAL_FLAGS -t testing/test.log "$@"
TURSO_ENABLE_CHECKPOINT_CACHE=1 TESTING="true" "$TURSODB" -m list -q $EXPERIMENTAL_FLAGS -t testing/test.log "$@"
else
TESTING="true" "$TURSODB" -m list -q $EXPERIMENTAL_FLAGS "$@"
TURSO_ENABLE_CHECKPOINT_CACHE=1 TESTING="true" "$TURSODB" -m list -q $EXPERIMENTAL_FLAGS "$@"
fi

View File

@@ -11,7 +11,7 @@ EXPERIMENTAL_FLAGS="--experimental-indexes"
# if RUST_LOG is non-empty, enable tracing output
if [ -n "$RUST_LOG" ]; then
"$TURSODB" -m list -q $EXPERIMENTAL_FLAGS -t testing/test.log "$@"
TURSO_ENABLE_CHECKPOINT_CACHE=1 "$TURSODB" -m list -q $EXPERIMENTAL_FLAGS -t testing/test.log "$@"
else
"$TURSODB" -m list -q $EXPERIMENTAL_FLAGS "$@"
TURSO_ENABLE_CHECKPOINT_CACHE=1 "$TURSODB" -m list -q $EXPERIMENTAL_FLAGS "$@"
fi

View File

@@ -3,10 +3,10 @@
set -e
if [[ -n "$@" ]]; then
cargo run -p limbo_sim -- "$@"
TURSO_ENABLE_CHECKPOINT_CACHE=1 cargo run -p limbo_sim -- "$@"
else
echo "Running limbo_sim in infinite loop..."
while true; do
cargo run -p limbo_sim
TURSO_ENABLE_CHECKPOINT_CACHE=1 cargo run -p limbo_sim
done
fi