summary refs log tree commit diff stats
path: root/svc/post.go
diff options
context:
space:
mode:
Diffstat (limited to 'svc/post.go')
-rw-r--r--svc/post.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/svc/post.go b/svc/post.go
index 9050859..34ae92f 100644
--- a/svc/post.go
+++ b/svc/post.go
@@ -35,9 +35,7 @@ func apiPostUser(w http.ResponseWriter, r *http.Request) {
 
 	switch remoteRegistry {
 	case true:
-		remoteRegistries.Mu.Lock()
 		remoteRegistries.List = append(remoteRegistries.List, urls)
-		remoteRegistries.Mu.Unlock()
 
 		if err := twtxtCache.CrawlRemoteRegistry(urls); err != nil {
 			errHTTP(w, r, fmt.Errorf("error crawling remote registry: %v", err.Error()), http.StatusInternalServerError)
/fixes' href='/akspecs/ranger/commit/all_tests.py?h=v1.9.0b6&id=22449efdeaec4ae089a6461ab93700536b5ea1bd'>22449efd ^
e9e4b4ff ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21