feat: use job emitter

This commit is contained in:
Jason Song
2022-11-04 15:11:51 +08:00
parent cf40dca0c4
commit dc7e64041a
8 changed files with 251 additions and 8 deletions

View File

@ -148,7 +148,3 @@ func ParseLog(in string) (timestamp time.Time, content string, err error) {
content = in[index+1:]
return
}
func LogFileName(repoFullName string, taskID int64) string {
return fmt.Sprintf("%s/%02x/%d.log", repoFullName, taskID%256, taskID)
}