From 9e33e3b07dc83f2375fd459a893a2a5a897f1aa2 Mon Sep 17 00:00:00 2001 From: Will Winder Date: Tue, 16 Aug 2022 14:04:37 -0400 Subject: [PATCH] Make sure deadlock detection is turned off. --- cmd/algorand-indexer/main.go | 2 +- util/{disable_deadlock => disabledeadlock}/disable_deadlock.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename util/{disable_deadlock => disabledeadlock}/disable_deadlock.go (83%) diff --git a/cmd/algorand-indexer/main.go b/cmd/algorand-indexer/main.go index 485e55844..a12015820 100644 --- a/cmd/algorand-indexer/main.go +++ b/cmd/algorand-indexer/main.go @@ -17,7 +17,7 @@ import ( "github.com/algorand/indexer/idb" "github.com/algorand/indexer/idb/dummy" _ "github.com/algorand/indexer/idb/postgres" - _ "github.com/algorand/indexer/util/disable_deadlock" + _ "github.com/algorand/indexer/util/disabledeadlock" "github.com/algorand/indexer/util/metrics" "github.com/algorand/indexer/version" ) diff --git a/util/disable_deadlock/disable_deadlock.go b/util/disabledeadlock/disable_deadlock.go similarity index 83% rename from util/disable_deadlock/disable_deadlock.go rename to util/disabledeadlock/disable_deadlock.go index ab6605a2a..ca1a19991 100644 --- a/util/disable_deadlock/disable_deadlock.go +++ b/util/disabledeadlock/disable_deadlock.go @@ -1,4 +1,4 @@ -package disable_deadlock +package disabledeadlock import "github.com/algorand/go-deadlock"