loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix data-race bug when accessing task.LastRun (#27584)

authored by

wxiaoguang and committed by
GitHub
1d155a43 fb74fe99

+1 -2
+1 -2
services/cron/cron.go
··· 107 107 prev = e.PreviousRun() 108 108 } 109 109 110 + task.lock.Lock() 110 111 // If the manual run is after the cron run, use that instead. 111 112 if prev.Before(task.LastRun) { 112 113 prev = task.LastRun 113 114 } 114 - 115 - task.lock.Lock() 116 115 tTable = append(tTable, &TaskTableRow{ 117 116 Name: task.Name, 118 117 Spec: spec,