Skip to content

Instantly share code, notes, and snippets.

@vvillschneider
Last active January 28, 2022 02:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vvillschneider/0e3530c582f7b6e8696c553bba9ab5ed to your computer and use it in GitHub Desktop.
Save vvillschneider/0e3530c582f7b6e8696c553bba9ab5ed to your computer and use it in GitHub Desktop.
Enabling BlockHound to identify blocking code
static {
BlockHound.install(builder -> {
builder.blockingMethodCallback(it -> {
new Error(it.toString()).printStackTrace();
});
});
}
ext {
blockHoundVersion = '1.0.4.RELEASE'
}
dependencies {
implementation "io.projectreactor.tools:blockhound:${blockHoundVersion}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment