We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dd0c50 commit 2646a0aCopy full SHA for 2646a0a
1 file changed
go/logic/migrator.go
@@ -10,10 +10,8 @@ import (
10
"io"
11
"math"
12
"os"
13
- "os/signal"
14
"strings"
15
"sync/atomic"
16
- "syscall"
17
"time"
18
19
"github.com/github/gh-ost/go/base"
@@ -103,21 +101,6 @@ func NewMigrator() *Migrator {
103
101
return migrator
104
102
}
105
106
-// acceptSignals registers for OS signals
107
-func (this *Migrator) acceptSignals() {
108
- c := make(chan os.Signal, 1)
109
-
110
- signal.Notify(c, syscall.SIGHUP)
111
- go func() {
112
- for sig := range c {
113
- switch sig {
114
- case syscall.SIGHUP:
115
- log.Debugf("Received SIGHUP. Reloading configuration")
116
- }
117
118
- }()
119
-}
120
121
// initiateHooksExecutor
122
func (this *Migrator) initiateHooksExecutor() (err error) {
123
this.hooksExecutor = NewHooksExecutor()
0 commit comments