Removed trace log statements for locking. Need to add configurable log levels and categories to make debugging/developing better.

graph-rework
noah metz 2023-06-02 17:32:40 -06:00
parent 100a5f8f2e
commit c467e267ed
1 changed files with 0 additions and 2 deletions

@ -69,7 +69,6 @@ func AddParent(resource Resource, parent Resource) error {
} }
func UnlockResource(resource Resource, event Event) error { func UnlockResource(resource Resource, event Event) error {
log.Printf("RESOURCE_UNLOCK: %s", resource.Name())
var err error = nil var err error = nil
resource.LockState() resource.LockState()
if resource.Owner() == nil { if resource.Owner() == nil {
@ -115,7 +114,6 @@ func UnlockResource(resource Resource, event Event) error {
} }
func LockResource(resource Resource, event Event) error { func LockResource(resource Resource, event Event) error {
log.Printf("RESOURCE_LOCK: %s", resource.Name())
resource.LockState() resource.LockState()
if resource.Owner() != nil { if resource.Owner() != nil {
resource.UnlockState() resource.UnlockState()