mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Add golangci (#6418)
This commit is contained in:
		| @@ -96,12 +96,12 @@ func (r *RedisQueue) Run() error { | ||||
|  | ||||
| 		i++ | ||||
| 		if len(datas) > r.batchNumber || (len(datas) > 0 && i > 3) { | ||||
| 			r.indexer.Index(datas) | ||||
| 			_ = r.indexer.Index(datas) | ||||
| 			datas = make([]*IndexerData, 0, r.batchNumber) | ||||
| 			i = 0 | ||||
| 		} | ||||
|  | ||||
| 		if len(bs) <= 0 { | ||||
| 		if len(bs) == 0 { | ||||
| 			time.Sleep(time.Millisecond * 100) | ||||
| 			continue | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user