Fix tests on CI (2)
This commit is contained in:
@@ -90,6 +90,8 @@ mainLoop:
|
||||
}
|
||||
|
||||
func (j *RequestLogCollectorJob) insertLog(requestid models.RequestID, rl models.RequestLog) error {
|
||||
j.app.RequestDatabaseLock.Lock()
|
||||
defer j.app.RequestDatabaseLock.Unlock()
|
||||
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
|
||||
defer cancel()
|
||||
|
||||
Reference in New Issue
Block a user