test
This commit is contained in:
parent
f94e710911
commit
44762e03ea
2
job.go
2
job.go
@ -222,7 +222,7 @@ func loadCurrentJobs() ([]Job, error) {
|
|||||||
zb := bytes.NewReader(zpayload)
|
zb := bytes.NewReader(zpayload)
|
||||||
zr, err := zlib.NewReader(zb)
|
zr, err := zlib.NewReader(zb)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logOnError(err, "loadCurrentJobs : zlib.NewReader.")
|
logOnError(err, "loadCurrentJobs : zlib.NewReader")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
b := new(bytes.Buffer)
|
b := new(bytes.Buffer)
|
||||||
|
2
obj.go
2
obj.go
@ -1049,7 +1049,7 @@ func loadObjJob() error {
|
|||||||
zb := bytes.NewReader(zpayload)
|
zb := bytes.NewReader(zpayload)
|
||||||
zr, err := zlib.NewReader(zb)
|
zr, err := zlib.NewReader(zb)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logOnError(err, "loadObjJob : zlib.NewReader.")
|
logOnError(err, "loadObjJob : zlib.NewReader")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
b := new(bytes.Buffer)
|
b := new(bytes.Buffer)
|
||||||
|
2
sql.go
2
sql.go
@ -385,7 +385,7 @@ func initDB() {
|
|||||||
,started TIMESTAMP
|
,started TIMESTAMP
|
||||||
,ended TIMESTAMP
|
,ended TIMESTAMP
|
||||||
,timeout TIMESTAMP
|
,timeout TIMESTAMP
|
||||||
,payload VARCHAR(65532)
|
,payload VARBINARY(20000)
|
||||||
,FOREIGN KEY (obj_id) REFERENCES obj(id) ON DELETE CASCADE
|
,FOREIGN KEY (obj_id) REFERENCES obj(id) ON DELETE CASCADE
|
||||||
,KEY (is_done)
|
,KEY (is_done)
|
||||||
,KEY (in_work)
|
,KEY (in_work)
|
||||||
|
Loading…
Reference in New Issue
Block a user