Skip to content

shutdown on deadlock#233

Merged
SurfingNerd merged 4 commits intoDMDcoin:0.11from
SurfingNerd:i231-shutdown-on-deadlock
Jun 13, 2025
Merged

shutdown on deadlock#233
SurfingNerd merged 4 commits intoDMDcoin:0.11from
SurfingNerd:i231-shutdown-on-deadlock

Conversation

@SurfingNerd
Copy link
Collaborator

@SurfingNerd SurfingNerd commented Jun 13, 2025

#231 shutdown on deadlock

On detecting a deadlock, we are shutting down the Node Software now if the feature "shutdown-on-deadlock" is defined, and is activated as a default feature for now.

Shutdowns are now timed to take a maximum of 60 seconds, instead of 300 seconds. Code Infrastructure changes: ShutdownManager is now hosted as an Arc.

Feature Enhancements:

  • Cargo.toml: Added a new feature flag shutdown-on-deadlock, which enables deadlock detection by leveraging the parking_lot/deadlock_detection feature. This is now part of the default feature set. [1] [2]

Code Refactoring:

…f the feature "shutdown-on-deadlock" is defined, and is activated as a default feature for now.

Shutdowns are now timed to take a maximum of 60 seconds, instead of 300 seconds.
DMDcoin#231
Code Infrastructure changes: ShutdownManager is now hosted as an Arc.
…down routine is unable to finish all work, for example because of deadlocks.
@SurfingNerd SurfingNerd merged commit 62c8de5 into DMDcoin:0.11 Jun 13, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant