Skip to content

Commit

Permalink
Remove artifical timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Simmerl committed Feb 17, 2017
1 parent 5fdb0cc commit 23075a0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions handler/http/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"encoding/json"
"net/http"
"strconv"
"time"

"golang.org/x/net/context"

Expand All @@ -28,8 +27,6 @@ func AppCreate(fn core.AppCreateFunc) Handler {
return
}

time.Sleep(500 * time.Millisecond)

respondJSON(w, http.StatusOK, &payloadApp{app: a})
}
}
Expand All @@ -43,8 +40,6 @@ func AppList(fn core.AppListFunc) Handler {
return
}

time.Sleep(500 * time.Millisecond)

respondJSON(w, http.StatusOK, &payloadApps{apps: as})
}
}
Expand All @@ -64,8 +59,6 @@ func AppRetrieve(fn core.AppFetchFunc) Handler {
return
}

time.Sleep(500 * time.Millisecond)

respondJSON(w, http.StatusOK, &payloadApp{app: a})
}
}
Expand Down

0 comments on commit 23075a0

Please sign in to comment.