Skip to content

Commit

Permalink
release correct lock
Browse files Browse the repository at this point in the history
  • Loading branch information
leafo committed Nov 22, 2023
1 parent 61e8cd8 commit 056873e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zipserver/copy_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func copyHandler(w http.ResponseWriter, r *http.Request) error {
}

go (func() {
defer extractLockTable.releaseKey(key)
defer copyLockTable.releaseKey(key)

jobCtx, cancel := context.WithTimeout(context.Background(), time.Duration(config.JobTimeout))
defer cancel()
Expand Down

0 comments on commit 056873e

Please sign in to comment.