-
-
Notifications
You must be signed in to change notification settings - Fork 102
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: rmqtt/rmqtt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.13.3
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: rmqtt/rmqtt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.13.4
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 4 commits
- 12 files changed
- 1 contributor
Commits on Aug 22, 2025
-
perf(session): optimize offline message handling with VecDeque
Version & Core: - Bumped workspace version from 0.13.3 to 0.13.4 Performance Improvements: - Changed offline_messages from Vec to VecDeque for efficient FIFO operations - Replaced pop() with pop_front() for proper queue behavior - Used push_back() instead of push() for correct queue ordering Key Benefits: 1. **Efficiency**: VecDeque provides O(1) amortized time for both ends 2. **Correctness**: Ensures proper first-in-first-out delivery of offline messages 3. **Memory**: Better memory utilization for queue operations 4. **Behavior**: Maintains message ordering during offline storage and retrieval The changes ensure that offline messages are processed in the correct order while improving performance for queue operations.
Configuration menu - View commit details
-
Copy full SHA for d203596 - Browse repository at this point
Copy the full SHA d203596View commit details -
refactor(lifetimes): add explicit lifetime annotations for better bor…
…row checking API Consistency: - Added explicit lifetime annotations to HTTP API Message::decode() - Added missing allow(dead_code) for AtomicFlags methods Type Safety: - Added lifetime parameter to last_will() return type in ConnectInfo - Added explicit lifetimes to plugin manager methods: * get() -> EntryRef<'_> * get_mut() -> EntryRefMut<'_> * iter() -> EntryIter<'_> Key Benefits: 1. **Clarity**: Makes lifetime relationships explicit in function signatures 2. **Safety**: Helps Rust compiler verify proper borrow checking rules 3. **Consistency**: Uniform lifetime annotation patterns across codebase 4. **Maintenance**: Reduces potential lifetime-related bugs The changes improve code robustness by making lifetime dependencies explicit without altering runtime behavior.
Configuration menu - View commit details
-
Copy full SHA for ef996d8 - Browse repository at this point
Copy the full SHA ef996d8View commit details -
refactor(bridge): simplify pattern matching and remove redundant blocks
Code Simplification: - Removed unnecessary curly braces around `matches()` calls in all bridge implementations: * Kafka egress bridge * MQTT egress bridge * NATS egress bridge * Pulsar egress bridge * ReductStore egress bridge Pattern Matching Improvements: - Removed redundant `ref` patterns in Pulsar ingress bridge: * Simplified `RemoteProperties(name, ref placeholder)` → `RemoteProperties(name, placeholder)` * Simplified `RemotePayload(path, ref placeholder)` → `RemotePayload(path, placeholder)` * Removed unnecessary `ref` keyword for string parameters Key Benefits: 1. **Readability**: Cleaner, more idiomatic Rust code 2. **Performance**: Eliminates unnecessary scoping blocks 3. **Consistency**: Uniform pattern matching style across bridges 4. **Maintenance**: Reduced cognitive load for future changes The changes maintain identical functionality while improving code clarity and consistency across all bridge components.
Configuration menu - View commit details
-
Copy full SHA for 7034fd4 - Browse repository at this point
Copy the full SHA 7034fd4View commit details -
Merge pull request #259 from bittcrafter/dev/0.13.0
perf(session): optimize offline message handling with VecDeque
Configuration menu - View commit details
-
Copy full SHA for f029a7d - Browse repository at this point
Copy the full SHA f029a7dView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.13.3...0.13.4