Merge pull request #320 from TeamPiped/ryd-timeout

Allow increasing the RYD proxy timeout.
This commit is contained in:
Kavin 2022-07-21 09:40:39 +05:30 committed by GitHub
commit 748235fcbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -179,7 +179,7 @@ public class ResponseHelper {
if (info.getDislikeCount() < 0 && info.getLikeCount() >= 0) {
double rating;
try {
rating = futureDislikeRating.get(2, TimeUnit.SECONDS);
rating = futureDislikeRating.get(3, TimeUnit.SECONDS);
} catch (Exception e) {
rating = -1;
}