This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Restrict modules/graceful to non-windows build and shim the IsChild marker (
#8537
)
tags/v1.11.0-rc1
zeripath
GitHub
5 years ago
parent
76b8e9500e
commit
4633261d2e
8 changed files
with
25 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
modules/graceful/cleanup.go
+11
-0
modules/graceful/graceful_windows.go
+2
-0
modules/graceful/net.go
+2
-0
modules/graceful/restart.go
+2
-0
modules/graceful/server.go
+2
-0
modules/graceful/server_hooks.go
+2
-0
modules/graceful/server_http.go
+2
-0
modules/graceful/server_signals.go
+ 2
- 0
modules/graceful/cleanup.go
View File
@@ -1,3 +1,5 @@
// +build !windows
// Copyright 2019 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
+ 11
- 0
modules/graceful/graceful_windows.go
View File
@@ -0,0 +1,11 @@
// +build windows
// Copyright 2019 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
// This code is heavily inspired by the archived gofacebook/gracenet/net.go handler
package graceful
// This file contains shims for windows builds
const IsChild = false
+ 2
- 0
modules/graceful/net.go
View File
@@ -1,3 +1,5 @@
// +build !windows
// Copyright 2019 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
+ 2
- 0
modules/graceful/restart.go
View File
@@ -1,3 +1,5 @@
// +build !windows
// Copyright 2019 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
+ 2
- 0
modules/graceful/server.go
View File
@@ -1,3 +1,5 @@
// +build !windows
// Copyright 2019 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
+ 2
- 0
modules/graceful/server_hooks.go
View File
@@ -1,3 +1,5 @@
// +build !windows
// Copyright 2019 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
+ 2
- 0
modules/graceful/server_http.go
View File
@@ -1,3 +1,5 @@
// +build !windows
// Copyright 2019 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
+ 2
- 0
modules/graceful/server_signals.go
View File
@@ -1,3 +1,5 @@
// +build !windows
// Copyright 2019 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
Write
Preview
Loading…
Cancel
Save