Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c0c27ef6
Commit
c0c27ef6
authored
Nov 29, 2018
by
Pirate Praveen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo fixes suggested by debian's lintian
parent
08d6384c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+1
-1
internal/objectstore/multipart.go
internal/objectstore/multipart.go
+1
-1
internal/upload/rewrite.go
internal/upload/rewrite.go
+1
-1
main.go
main.go
+1
-1
No files found.
README.md
View file @
c0c27ef6
...
...
@@ -49,7 +49,7 @@ Options:
-authSocket string
Optional: Unix domain socket to dial authBackend at
-developmentMode
Allow t
o serve assets
from Rails app
Allow t
he assets to be served
from Rails app
-documentRoot string
Path to static files content (default "public")
-listenAddr string
...
...
internal/objectstore/multipart.go
View file @
c0c27ef6
...
...
@@ -109,7 +109,7 @@ func (m *Multipart) cleanup(ctx context.Context) {
return
}
// We have now succesfully uploaded the file to object storage. Another
// We have now succes
s
fully uploaded the file to object storage. Another
// goroutine will hand off the object to gitlab-rails.
<-
ctx
.
Done
()
...
...
internal/upload/rewrite.go
View file @
c0c27ef6
...
...
@@ -27,7 +27,7 @@ var (
multipartFileUploadBytes
=
prometheus
.
NewCounterVec
(
prometheus
.
CounterOpts
{
Name
:
"gitlab_workhorse_multipart_upload_bytes"
,
Help
:
"How many disk bytes of multipart file parts have been succesfully written by gitlab-workhorse. Partitioned by type."
,
Help
:
"How many disk bytes of multipart file parts have been succes
s
fully written by gitlab-workhorse. Partitioned by type."
,
},
[]
string
{
"type"
},
)
...
...
main.go
View file @
c0c27ef6
...
...
@@ -48,7 +48,7 @@ var authSocket = flag.String("authSocket", "", "Optional: Unix domain socket to
var
pprofListenAddr
=
flag
.
String
(
"pprofListenAddr"
,
""
,
"pprof listening address, e.g. 'localhost:6060'"
)
var
documentRoot
=
flag
.
String
(
"documentRoot"
,
"public"
,
"Path to static files content"
)
var
proxyHeadersTimeout
=
flag
.
Duration
(
"proxyHeadersTimeout"
,
5
*
time
.
Minute
,
"How long to wait for response headers when proxying the request"
)
var
developmentMode
=
flag
.
Bool
(
"developmentMode"
,
false
,
"Allow t
o serve assets
from Rails app"
)
var
developmentMode
=
flag
.
Bool
(
"developmentMode"
,
false
,
"Allow t
he assets to be served
from Rails app"
)
var
secretPath
=
flag
.
String
(
"secretPath"
,
"./.gitlab_workhorse_secret"
,
"File with secret key to authenticate with authBackend"
)
var
apiLimit
=
flag
.
Uint
(
"apiLimit"
,
0
,
"Number of API requests allowed at single time"
)
var
apiQueueLimit
=
flag
.
Uint
(
"apiQueueLimit"
,
0
,
"Number of API requests allowed to be queued"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment