mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2025-04-29 16:30:29 +05:30
Merge pull request #320 from TeamPiped/ryd-timeout
Allow increasing the RYD proxy timeout.
This commit is contained in:
commit
748235fcbd
@ -179,7 +179,7 @@ public class ResponseHelper {
|
|||||||
if (info.getDislikeCount() < 0 && info.getLikeCount() >= 0) {
|
if (info.getDislikeCount() < 0 && info.getLikeCount() >= 0) {
|
||||||
double rating;
|
double rating;
|
||||||
try {
|
try {
|
||||||
rating = futureDislikeRating.get(2, TimeUnit.SECONDS);
|
rating = futureDislikeRating.get(3, TimeUnit.SECONDS);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
rating = -1;
|
rating = -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user