Compare commits

...
6 changed files with 20 additions and 7 deletions

No files matched your search

+1 -2
View File
@@ -59,10 +59,9 @@ jobs:
# Aggressive GC since cache restores don't increment counter # Aggressive GC since cache restores don't increment counter
echo "CARGO_INCREMENTAL_GC_TRIGGER=5" >> $GITHUB_ENV echo "CARGO_INCREMENTAL_GC_TRIGGER=5" >> $GITHUB_ENV
- name: Setup Rust nightly - name: Setup Rust
uses: ./.forgejo/actions/setup-rust uses: ./.forgejo/actions/setup-rust
with: with:
rust-version: nightly
github-token: ${{ secrets.GH_PUBLIC_RO }} github-token: ${{ secrets.GH_PUBLIC_RO }}
- name: Get package version and component - name: Get package version and component
+1
View File
@@ -24,3 +24,4 @@ extend-ignore-re = [
"continuwuity" = "continuwuity" "continuwuity" = "continuwuity"
"continuwity" = "continuwuity" "continuwity" = "continuwuity"
"execuse" = "execuse" "execuse" = "execuse"
"oltp" = "OTLP"
+1 -1
View File
@@ -4,7 +4,7 @@
## Features ## Features
- Enabled the OLTP exporter in default builds, and allow configuring the exporter protocol. (@Jade). (#1251) - Enabled the OTLP exporter in default builds, and allow configuring the exporter protocol. (@Jade). (#1251)
## Bug Fixes ## Bug Fixes
+1
View File
@@ -0,0 +1 @@
The `console` feature is now enabled by default, allowing the server console to be used for running admin commands directly.
+13 -1
View File
@@ -178,7 +178,19 @@ pub async fn leave_room(
.rooms .rooms
.state_cache .state_cache
.left_state(user_id, room_id) .left_state(user_id, room_id)
.await? .await
.inspect_err(|err| {
// `left_state` may return an Err if the user _is_ in the room they're
// trying to leave, but the membership cache is incorrect and
// they're cached as being joined. In this situation
// we save a `None` to the `roomuserid_leftcount` table, which generates
// and sends a dummy leave to the client.
warn!(
"Trying to leave room not cached as leave, sending dummy leave \
event to client"
);
})
.unwrap_or_default()
}, },
} }
}; };
+3 -3
View File
@@ -64,15 +64,15 @@ standard = [
"url_preview", "url_preview",
"zstd_compression", "zstd_compression",
"sentry_telemetry", "sentry_telemetry",
"otlp_telemetry" "otlp_telemetry",
"console",
] ]
full = [ full = [
"standard", "standard",
# "hardened_malloc", # Conflicts with jemalloc # "hardened_malloc", # Conflicts with jemalloc
"jemalloc_prof", "jemalloc_prof",
"perf_measurements", "perf_measurements",
"tokio_console" "tokio_console",
# sentry_telemetry
] ]
blurhashing = [ blurhashing = [