You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ib...@apache.org on 2024/02/07 16:38:30 UTC
(ignite-3) branch main updated: IGNITE-21488 Disable thread assertions by default (#3182)
This is an automated email from the ASF dual-hosted git repository.
ibessonov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new a46b779688 IGNITE-21488 Disable thread assertions by default (#3182)
a46b779688 is described below
commit a46b77968844d589d163ac2d06e32d8c00f41b13
Author: Roman Puchkovskiy <ro...@gmail.com>
AuthorDate: Wed Feb 7 20:38:25 2024 +0400
IGNITE-21488 Disable thread assertions by default (#3182)
---
.../main/java/org/apache/ignite/internal/worker/ThreadAssertions.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/workers/src/main/java/org/apache/ignite/internal/worker/ThreadAssertions.java b/modules/workers/src/main/java/org/apache/ignite/internal/worker/ThreadAssertions.java
index 64b54c2c35..2b66c4a99f 100644
--- a/modules/workers/src/main/java/org/apache/ignite/internal/worker/ThreadAssertions.java
+++ b/modules/workers/src/main/java/org/apache/ignite/internal/worker/ThreadAssertions.java
@@ -30,7 +30,7 @@ public class ThreadAssertions {
private static final IgniteLogger LOG = Loggers.forClass(ThreadAssertions.class);
- private static final boolean ENABLED = Boolean.parseBoolean(System.getProperty(ENABLED_PROPERTY, "true"));
+ private static final boolean ENABLED = Boolean.parseBoolean(System.getProperty(ENABLED_PROPERTY, "false"));
/**
* Returns {@code true} if thread assertions are enabled.