Skip to content
GitLab
菜单
为什么选择 GitLab
定价
联系销售
探索
为什么选择 GitLab
定价
联系销售
探索
登录
获取免费试用
主导航
搜索或转到…
项目
GitLab
管理
动态
成员
标记
计划
议题
议题看板
里程碑
迭代
需求
代码
合并请求
仓库
分支
提交
标签
仓库图
比较修订版本
代码片段
锁定的文件
构建
流水线
作业
流水线计划
测试用例
产物
部署
发布
Package registry
容器镜像库
模型注册表
运维
环境
Terraform 模块
监控
事件
服务台
分析
价值流分析
贡献者分析
CI/CD 分析
仓库分析
代码评审分析
议题分析
洞察
模型实验
效能分析
帮助
帮助
支持
GitLab 文档
比较 GitLab 各版本
社区论坛
为极狐GitLab 提交贡献
提交反馈
隐私声明
快捷键
?
新增功能
4
代码片段
群组
项目
显示更多面包屑
gitlab-cn
GitLab
提交
c0c27ef6
提交
c0c27ef6
编辑于
6 years ago
作者:
Pirate Praveen
浏览文件
操作
下载
补丁
差异文件
Typo fixes suggested by debian's lintian
上级
08d6384c
No related branches found
分支 包含提交
No related tags found
标签 包含提交
无相关合并请求
变更
4
隐藏空白变更内容
行内
左右并排
显示
4 个更改的文件
README.md
+1
-1
1 个添加, 1 个删除
README.md
internal/objectstore/multipart.go
+1
-1
1 个添加, 1 个删除
internal/objectstore/multipart.go
internal/upload/rewrite.go
+1
-1
1 个添加, 1 个删除
internal/upload/rewrite.go
main.go
+1
-1
1 个添加, 1 个删除
main.go
有
4 个添加
和
4 个删除
README.md
+
1
−
1
浏览文件 @
c0c27ef6
...
@@ -49,7 +49,7 @@ Options:
...
@@ -49,7 +49,7 @@ Options:
-authSocket string
-authSocket string
Optional: Unix domain socket to dial authBackend at
Optional: Unix domain socket to dial authBackend at
-developmentMode
-developmentMode
Allow t
o serv
e assets from Rails app
Allow t
h
e assets
to be served
from Rails app
-documentRoot string
-documentRoot string
Path to static files content (default "public")
Path to static files content (default "public")
-listenAddr string
-listenAddr string
...
...
此差异已折叠。
点击以展开。
internal/objectstore/multipart.go
+
1
−
1
浏览文件 @
c0c27ef6
...
@@ -109,7 +109,7 @@ func (m *Multipart) cleanup(ctx context.Context) {
...
@@ -109,7 +109,7 @@ func (m *Multipart) cleanup(ctx context.Context) {
return
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.
// goroutine will hand off the object to gitlab-rails.
<-
ctx
.
Done
()
<-
ctx
.
Done
()
...
...
此差异已折叠。
点击以展开。
internal/upload/rewrite.go
+
1
−
1
浏览文件 @
c0c27ef6
...
@@ -27,7 +27,7 @@ var (
...
@@ -27,7 +27,7 @@ var (
multipartFileUploadBytes
=
prometheus
.
NewCounterVec
(
multipartFileUploadBytes
=
prometheus
.
NewCounterVec
(
prometheus
.
CounterOpts
{
prometheus
.
CounterOpts
{
Name
:
"gitlab_workhorse_multipart_upload_bytes"
,
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"
},
[]
string
{
"type"
},
)
)
...
...
此差异已折叠。
点击以展开。
main.go
+
1
−
1
浏览文件 @
c0c27ef6
...
@@ -48,7 +48,7 @@ var authSocket = flag.String("authSocket", "", "Optional: Unix domain socket to
...
@@ -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
pprofListenAddr
=
flag
.
String
(
"pprofListenAddr"
,
""
,
"pprof listening address, e.g. 'localhost:6060'"
)
var
documentRoot
=
flag
.
String
(
"documentRoot"
,
"public"
,
"Path to static files content"
)
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
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 serv
e assets from Rails app"
)
var
developmentMode
=
flag
.
Bool
(
"developmentMode"
,
false
,
"Allow t
h
e assets
to be served
from Rails app"
)
var
secretPath
=
flag
.
String
(
"secretPath"
,
"./.gitlab_workhorse_secret"
,
"File with secret key to authenticate with authBackend"
)
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
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"
)
var
apiQueueLimit
=
flag
.
Uint
(
"apiQueueLimit"
,
0
,
"Number of API requests allowed to be queued"
)
...
...
此差异已折叠。
点击以展开。
预览
0%
加载中
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
保存评论
取消
想要评论请
注册
或
登录