We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88876b9 commit e57d4fbCopy full SHA for e57d4fb
server/store/job/job.go
@@ -52,6 +52,9 @@ func (s jobStore) Create(job *core.Job) error {
52
func (s jobStore) Update(job *core.Job) error {
53
log := []byte(job.Log)
54
55
+ if len(job.Log) > 16777215 {
56
+ job.Log = job.Log[0:16777215]
57
+ }
58
err := s.db.Model(job).Updates(map[string]interface{}{
59
"status": job.Status,
60
"start_time": job.StartTime,
0 commit comments