Browse Source

ft: 时间修正

master
SisMaker 4 years ago
parent
commit
516f9eee82
3 changed files with 2 additions and 2 deletions
  1. BIN
      fileSync
  2. BIN
      fileSync.exe
  3. +2
    -2
      fileSync.go

BIN
fileSync View File


BIN
fileSync.exe View File


+ 2
- 2
fileSync.go View File

@ -12,7 +12,7 @@ import (
)
const (
SendDur = 1500 // 发送时间间隔毫秒
SendDur = 1111 // 发送时间间隔毫秒
SleepDur = 86400000 // 定期器初始睡眠时间
)
@ -193,7 +193,7 @@ func (w *Watch) watchDir(dir string) {
}
case <-w.watch.Errors:
{
return
continue
}
case <-SendTimer.C:
SendToErl()

Loading…
Cancel
Save