leric opened a new pull request, #5443:
URL: https://github.com/apache/incubator-devlake/pull/5443

   ### Summary
   
   Sonarqube issue collector will split result of issues/search by using 
createdBefore & createdAfter filter params, if the result exceed 100 pages. 
   
   The split end when createdBefore - createdAfter less than 1 second, which is 
createdBefore == createdAfter, and sonarqube api do not allow createdBefore and 
createdAfter to be equal. In some case sonar scanner failed to do backdating, 
all issues have same createdTime, the split will end up createdBefore == 
createdAfter, and fail with sonarqube api error.
   
   This time range spliting don't need to be so acurate, this PR change the end 
condition to 10 seconds.
   
   ### Does this close any open issues?
   Closes #5442
   
   ### Screenshots
   Include any relevant screenshots here.
   
   ### Other Information
   Any other information that is important to this PR.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to